Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2018-06-01 04:08:28 -0400
committerQuentin Le Menez2018-06-01 05:33:22 -0400
commitc39d2473c9c273c84cae8fd1208d49bb4c4a5695 (patch)
treee6983b779e98564c9d848272cb11bd2bedc34587 /plugins/views/org.eclipse.papyrus.views.search
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/views/org.eclipse.papyrus.views.search')
-rw-r--r--plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/regex/PatternHelper.java2
-rw-r--r--plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/scope/ScopeCollector.java2
-rw-r--r--plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/utils/ModelUtils.java2
-rw-r--r--plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/validator/ParticipantValidator.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/regex/PatternHelper.java b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/regex/PatternHelper.java
index 2ee94a2ea6a..fa3d590501f 100644
--- a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/regex/PatternHelper.java
+++ b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/regex/PatternHelper.java
@@ -34,7 +34,7 @@ public class PatternHelper {
*
* @return the helper
*/
- public final static PatternHelper getInstance() {
+ public static final PatternHelper getInstance() {
synchronized (PatternHelper.class) {
if (PatternHelper.instance == null) {
diff --git a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/scope/ScopeCollector.java b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/scope/ScopeCollector.java
index c26d890b076..c00b2668ddb 100644
--- a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/scope/ScopeCollector.java
+++ b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/scope/ScopeCollector.java
@@ -61,7 +61,7 @@ public class ScopeCollector implements IScopeCollector {
scopeProviders = loadScopeProviders();
}
- public final static ScopeCollector getInstance() {
+ public static final ScopeCollector getInstance() {
diff --git a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/utils/ModelUtils.java b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/utils/ModelUtils.java
index ad6cfbb007e..c45f5b97c4e 100644
--- a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/utils/ModelUtils.java
+++ b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/utils/ModelUtils.java
@@ -21,7 +21,7 @@ import org.eclipse.papyrus.infra.core.resource.ModelsReader;
public class ModelUtils {
- public final static ModelSet openResource(URI resourceURI) throws ModelMultiException {
+ public static final ModelSet openResource(URI resourceURI) throws ModelMultiException {
if (resourceURI != null) {
// TODO: Need to be able to create CDOAwareModelSet
ModelSet modelSet = new ModelSet();
diff --git a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/validator/ParticipantValidator.java b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/validator/ParticipantValidator.java
index 6f46cbeeead..7f4100def81 100644
--- a/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/validator/ParticipantValidator.java
+++ b/plugins/views/org.eclipse.papyrus.views.search/src/org/eclipse/papyrus/views/search/validator/ParticipantValidator.java
@@ -34,7 +34,7 @@ public class ParticipantValidator implements IParticipantValidator {
super();
}
- public final static ParticipantValidator getInstance() {
+ public static final ParticipantValidator getInstance() {
synchronized (ParticipantValidator.class) {

Back to the top