diff options
author | Benoit Maggi | 2018-06-01 08:08:28 +0000 |
---|---|---|
committer | Quentin Le Menez | 2018-06-01 09:33:22 +0000 |
commit | c39d2473c9c273c84cae8fd1208d49bb4c4a5695 (patch) | |
tree | e6983b779e98564c9d848272cb11bd2bedc34587 /plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus | |
parent | ef46a8f6f3acb600bc62e0eda549fba86f20eb4b (diff) | |
download | org.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/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus')
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/AbstractCustomLabelEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/AbstractCustomLabelEditPolicy.java index 31d5167668e..b1c6ca7eef4 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/AbstractCustomLabelEditPolicy.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/AbstractCustomLabelEditPolicy.java @@ -29,7 +29,7 @@ import org.eclipse.uml2.uml.Element; public abstract class AbstractCustomLabelEditPolicy extends GraphicalEditPolicy implements IPapyrusListener, NotificationListener { /** constant for this edit policy role */ - public final static String SPECIFIC_NAME_LABEL_POLICY = "SpecificNameLabelEditPolicy"; //$NON-NLS-1$ + public static final String SPECIFIC_NAME_LABEL_POLICY = "SpecificNameLabelEditPolicy"; //$NON-NLS-1$ /** * Creates a new Specific Name display edit policy diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/InformationFlowCustomLabelEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/InformationFlowCustomLabelEditPolicy.java index 8e5cfb75638..3e1f4dfc284 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/InformationFlowCustomLabelEditPolicy.java +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.clazz/custom-src/org/eclipse/papyrus/uml/diagram/clazz/custom/policies/InformationFlowCustomLabelEditPolicy.java @@ -30,13 +30,13 @@ import org.eclipse.uml2.uml.InformationFlow; public class InformationFlowCustomLabelEditPolicy extends AbstractCustomLabelEditPolicy { /** constant for this edit policy role */ - public final static String SPECIFIC_NAME_LABEL_POLICY = "SpecificNameLabelEditPolicy"; //$NON-NLS-1$ + public static final String SPECIFIC_NAME_LABEL_POLICY = "SpecificNameLabelEditPolicy"; //$NON-NLS-1$ - public final static int ADD_CONVEYED_CLASSIFIER = Notification.ADD; + public static final int ADD_CONVEYED_CLASSIFIER = Notification.ADD; - public final static int REMOVE_CONVEYED_CLASSIFER = Notification.REMOVE; + public static final int REMOVE_CONVEYED_CLASSIFER = Notification.REMOVE; - public final static int CHANGE_NAME_OF_A_CONVOYED_CLASSIFIER = Notification.SET; + public static final int CHANGE_NAME_OF_A_CONVOYED_CLASSIFIER = Notification.SET; public InformationFlowCustomLabelEditPolicy() { super(); |