Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2018-06-01 08:08:28 +0000
committerQuentin Le Menez2018-06-01 09:33:22 +0000
commitc39d2473c9c273c84cae8fd1208d49bb4c4a5695 (patch)
treee6983b779e98564c9d848272cb11bd2bedc34587 /plugins/uml/properties
parentef46a8f6f3acb600bc62e0eda549fba86f20eb4b (diff)
downloadorg.eclipse.papyrus-c39d2473c9c273c84cae8fd1208d49bb4c4a5695.tar.gz
org.eclipse.papyrus-c39d2473c9c273c84cae8fd1208d49bb4c4a5695.tar.xz
org.eclipse.papyrus-c39d2473c9c273c84cae8fd1208d49bb4c4a5695.zip
Bug 528895 - [Quality] Field modifier should follow convention order
- use correct order for field modifier - add missing header - replace C<>line by Celine Change-Id: I2608484da46215dbd65a1e85d47d0aa7706feb58 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'plugins/uml/properties')
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java4
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/profile/ui/compositesformodel/AppliedProfileCompositeOnModel.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java
index 56291f2299e..96133e4fa2e 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java
@@ -100,7 +100,7 @@ public abstract class AbstractQVTGenerator implements IGenerator, Listener {
* @return the list of in/out/inout ModelExtents (including the OutContextExtent)
* Implementors should ensure they add the outContextExtent to the list.
*/
- abstract protected List<ModelExtent> getModelExtents();
+ protected abstract List<ModelExtent> getModelExtents();
/**
* @return the ModelExtent containing the generated context
@@ -116,7 +116,7 @@ public abstract class AbstractQVTGenerator implements IGenerator, Listener {
/**
* @return the URI of the QVTO transformation file.
*/
- abstract protected URI getTransformationURI();
+ protected abstract URI getTransformationURI();
/**
* Loads the EObject from the given URI.
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java
index 7c5d6e15ea5..4f71bd6f662 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java
@@ -312,7 +312,7 @@ public class UMLModelElement extends EMFModelElement {
/**
* The set of all EStructuralFeature representing subsets of {@link Namespace#getOwnedRules()}
*/
- public final static Set<EStructuralFeature> ownedRuleSubsets = new HashSet<EStructuralFeature>();
+ public static final Set<EStructuralFeature> ownedRuleSubsets = new HashSet<EStructuralFeature>();
static {
// Behavior
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/profile/ui/compositesformodel/AppliedProfileCompositeOnModel.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/profile/ui/compositesformodel/AppliedProfileCompositeOnModel.java
index aefc2491313..30f55e2e408 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/profile/ui/compositesformodel/AppliedProfileCompositeOnModel.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/profile/ui/compositesformodel/AppliedProfileCompositeOnModel.java
@@ -80,7 +80,7 @@ import org.eclipse.uml2.uml.Profile;
*/
public class AppliedProfileCompositeOnModel extends Composite {
- public final static String TAG_PROFILE_CHANGED = " (has changed, consider re-applying profile)";
+ public static final String TAG_PROFILE_CHANGED = " (has changed, consider re-applying profile)";
/**
* The add registered button.

Back to the top