Update osgi test jars
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/3bb47883 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/3bb47883 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/3bb47883 Branch: refs/heads/master Commit: 3bb478830deaec57ba6714695dd4e3094ba21349 Parents: cde747f Author: Aled Sage <[email protected]> Authored: Fri Jul 8 10:47:03 2016 +0100 Committer: Aled Sage <[email protected]> Committed: Sat Jul 9 11:03:18 2016 +0100 ---------------------------------------------------------------------- .../test/osgi/entities/more/MoreObject.java | 56 +++++++++++++++++++ .../test/osgi/entities/more/MoreObject.java | 56 +++++++++++++++++++ .../osgi/brooklyn-test-osgi-entities.jar | Bin 17775 -> 19168 bytes .../brooklyn-test-osgi-more-entities_0.1.0.jar | Bin 14964 -> 16004 bytes .../brooklyn-test-osgi-more-entities_0.2.0.jar | Bin 15646 -> 16906 bytes 5 files changed, 112 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3bb47883/utils/common/dependencies/osgi/more-entities-v1/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java ---------------------------------------------------------------------- diff --git a/utils/common/dependencies/osgi/more-entities-v1/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java b/utils/common/dependencies/osgi/more-entities-v1/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java new file mode 100644 index 0000000..1725f08 --- /dev/null +++ b/utils/common/dependencies/osgi/more-entities-v1/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.brooklyn.test.osgi.entities.more; + +public class MoreObject { + + private String val; + + public MoreObject() { + } + + public MoreObject(String val) { + this.val = val; + } + + public String getVal() { + return val; + } + + public void setVal(String val) { + this.val = val; + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof MoreObject)) return false; + String oVal = ((MoreObject)obj).val; + return (val == null) ? oVal == null : val.equals(oVal); + } + + @Override + public int hashCode() { + return (val == null) ? 0 : val.hashCode(); + } + + @Override + public String toString() { + return "MoreObject-v1["+val+"]"; + } +} http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3bb47883/utils/common/dependencies/osgi/more-entities-v2/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java ---------------------------------------------------------------------- diff --git a/utils/common/dependencies/osgi/more-entities-v2/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java b/utils/common/dependencies/osgi/more-entities-v2/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java new file mode 100644 index 0000000..08bf69c --- /dev/null +++ b/utils/common/dependencies/osgi/more-entities-v2/src/main/java/org/apache/brooklyn/test/osgi/entities/more/MoreObject.java @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.brooklyn.test.osgi.entities.more; + +public class MoreObject { + + private String val; + + public MoreObject() { + } + + public MoreObject(String val) { + this.val = val; + } + + public String getVal() { + return val; + } + + public void setVal(String val) { + this.val = val; + } + + @Override + public boolean equals(Object obj) { + if (!(obj instanceof MoreObject)) return false; + String oVal = ((MoreObject)obj).val; + return (val == null) ? oVal == null : val.equals(oVal); + } + + @Override + public int hashCode() { + return (val == null) ? 0 : val.hashCode(); + } + + @Override + public String toString() { + return "MoreObject-v2["+val+"]"; + } +} http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3bb47883/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-entities.jar ---------------------------------------------------------------------- diff --git a/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-entities.jar b/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-entities.jar index 63edc5d..42ba7ca 100644 Binary files a/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-entities.jar and b/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-entities.jar differ http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3bb47883/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.1.0.jar ---------------------------------------------------------------------- diff --git a/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.1.0.jar b/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.1.0.jar index 1101112..b30775e 100644 Binary files a/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.1.0.jar and b/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.1.0.jar differ http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/3bb47883/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.2.0.jar ---------------------------------------------------------------------- diff --git a/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.2.0.jar b/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.2.0.jar index 4de9b94..0dc12b1 100644 Binary files a/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.2.0.jar and b/utils/common/src/test/resources/brooklyn/osgi/brooklyn-test-osgi-more-entities_0.2.0.jar differ
