From e547eb80614ac6baba8c4ba5b839bed631d39aac Mon Sep 17 00:00:00 2001 From: Florian Noyrit Date: Fri, 5 May 2017 12:07:33 +0200 Subject: [releng] Update plugin version for Oxygen release - Update plugin version numbers using Neon.3 as baseline - Add appropriate @since annotations to non-generated code Change-Id: I731bd059466c0caa4b5e0bf0576f0ff5d31f8967 --- .../META-INF/MANIFEST.MF | 4 ++-- .../org.eclipse.papyrus.emf.facet.custom.core/pom.xml | 2 +- .../core/internal/CustomizationsDelegatingList.java | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.custom.core') diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/META-INF/MANIFEST.MF b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/META-INF/MANIFEST.MF index 67ea5afe1b8..4624a6962c4 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/META-INF/MANIFEST.MF +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/META-INF/MANIFEST.MF @@ -7,13 +7,13 @@ Export-Package: org.eclipse.papyrus.emf.facet.custom.core, org.eclipse.papyrus.emf.facet.custom.core.internal.query Require-Bundle: org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", org.eclipse.core.runtime;bundle-version="[3.12.0,4.0.0)", - org.eclipse.papyrus.emf.facet.custom.metamodel;bundle-version="[1.3.0,2.0.0)";visibility:=reexport, + org.eclipse.papyrus.emf.facet.custom.metamodel;bundle-version="[1.2.0,2.0.0)";visibility:=reexport, org.eclipse.papyrus.emf.facet.efacet.core;bundle-version="[2.0.0,3.0.0)";visibility:=reexport, org.eclipse.papyrus.emf.facet.util.core;bundle-version="[1.2.0,2.0.0)", org.eclipse.emf.validation;bundle-version="[1.8.0,2.0.0)" Bundle-Vendor: %Bundle-Vendor Bundle-ActivationPolicy: lazy -Bundle-Version: 2.1.0.qualifier +Bundle-Version: 3.0.0.qualifier Bundle-Name: %Bundle-Name Bundle-Activator: org.eclipse.papyrus.emf.facet.custom.core.internal.Activator Bundle-ManifestVersion: 2 diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/pom.xml b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/pom.xml index 8e6c5638a63..b9ba35a2517 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/pom.xml +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/pom.xml @@ -7,6 +7,6 @@ 0.0.1-SNAPSHOT org.eclipse.papyrus.emf.facet.custom.core - 2.1.0-SNAPSHOT + 3.0.0-SNAPSHOT eclipse-plugin \ No newline at end of file diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationsDelegatingList.java b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationsDelegatingList.java index 9df3c12b6bc..96c8b060226 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationsDelegatingList.java +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.core/src/org/eclipse/papyrus/emf/facet/custom/core/internal/CustomizationsDelegatingList.java @@ -33,6 +33,9 @@ public class CustomizationsDelegatingList extends BasicEList { this.delegate = delegate; } + /** + * @since 3.0 + */ @Override protected void didAdd(int index, Customization newObject) { // Insert at the corresponding location in the delegate @@ -43,22 +46,34 @@ public class CustomizationsDelegatingList extends BasicEList { delegate.add(index, newObject); } + /** + * @since 3.0 + */ @Override protected void didSet(int index, Customization newObject, Customization oldObject) { index = delegate.indexOf(oldObject); delegate.set(index, newObject); } + /** + * @since 3.0 + */ @Override protected void didRemove(int index, Customization oldObject) { delegate.remove(oldObject); } + /** + * @since 3.0 + */ @Override protected void didClear(int size, Object[] oldObjects) { delegate.removeAll(Arrays.asList(oldObjects)); } + /** + * @since 3.0 + */ @Override protected void didMove(int index, Customization movedObject, int oldIndex) { // Move to the corresponding location in the delegate @@ -80,6 +95,7 @@ public class CustomizationsDelegatingList extends BasicEList { * @param facetSets * the superset * @return the subset of customizations + * @since 3.0 */ protected static List customizations(List facetSets) { return facetSets.stream() -- cgit v1.2.3