Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2017-12-18 09:49:46 +0000
committerBenoit Maggi2017-12-18 13:13:23 +0000
commit58f04dc2eabffe84ebf3ac17162ca2ee747b03b1 (patch)
treeb5996a8622191aba2013bed362da39d6750e524f /tests/junit/plugins/infra
parent356c45388bf9bbb52eda2a35ed3eb8838e0c77c2 (diff)
downloadorg.eclipse.papyrus-58f04dc2eabffe84ebf3ac17162ca2ee747b03b1.tar.gz
org.eclipse.papyrus-58f04dc2eabffe84ebf3ac17162ca2ee747b03b1.tar.xz
org.eclipse.papyrus-58f04dc2eabffe84ebf3ac17162ca2ee747b03b1.zip
Bug 528881 - [Quality] Method modifier should follow convention order
- replace "abstract public" by "public abstract" (see https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.4.3 ) - also remove some unused import Change-Id: Ie1cf5ae7ae506b0cde5beef8ddfa9d56e4a2bdfd Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'tests/junit/plugins/infra')
-rw-r--r--tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.di.tests/test/org/eclipse/papyrus/infra/core/sasheditor/di/sashmodel/query/AbstractSash.java2
-rw-r--r--tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/AbstractSashWindowContentProviderFacadeTest.java2
-rw-r--r--tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/pagesmodel/AbstractSash.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.di.tests/test/org/eclipse/papyrus/infra/core/sasheditor/di/sashmodel/query/AbstractSash.java b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.di.tests/test/org/eclipse/papyrus/infra/core/sasheditor/di/sashmodel/query/AbstractSash.java
index b77038d0484..f6961c6ec85 100644
--- a/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.di.tests/test/org/eclipse/papyrus/infra/core/sasheditor/di/sashmodel/query/AbstractSash.java
+++ b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.di.tests/test/org/eclipse/papyrus/infra/core/sasheditor/di/sashmodel/query/AbstractSash.java
@@ -68,7 +68,7 @@ public abstract class AbstractSash extends PanelTerm {
* @param visitor
* @throws QueryException
*/
- abstract public void accept(IQueryVisitor visitor, EObject modelObject) throws QueryException ;
+ public abstract void accept(IQueryVisitor visitor, EObject modelObject) throws QueryException ;
/**
* @return The name used in toString
diff --git a/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/AbstractSashWindowContentProviderFacadeTest.java b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/AbstractSashWindowContentProviderFacadeTest.java
index 19eb3343010..c75ffc9378e 100644
--- a/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/AbstractSashWindowContentProviderFacadeTest.java
+++ b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/contentprovider/AbstractSashWindowContentProviderFacadeTest.java
@@ -64,7 +64,7 @@ public abstract class AbstractSashWindowContentProviderFacadeTest {
*
* @return an instance of {@link ISashWindowsContentProviderFacade};
*/
- abstract public ISashWindowsContentProviderFacade createISashWindowsContentProviderFacade();
+ public abstract ISashWindowsContentProviderFacade createISashWindowsContentProviderFacade();
/**
* Test method for {@link org.eclipse.papyrus.infra.core.sasheditor.contentprovider.simple.SimpleSashWindowContentProviderUtils#assertConform(org.eclipse.papyrus.infra.core.sasheditor.pagesmodel.IModelExp)}.
* @throws PagesModelException
diff --git a/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/pagesmodel/AbstractSash.java b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/pagesmodel/AbstractSash.java
index 57e22ecce0d..3a26bc5d674 100644
--- a/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/pagesmodel/AbstractSash.java
+++ b/tests/junit/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor.tests/test/org/eclipse/papyrus/infra/core/sasheditor/pagesmodel/AbstractSash.java
@@ -66,7 +66,7 @@ public abstract class AbstractSash extends PanelTerm {
* @param visitor
* @throws PagesModelException
*/
- abstract public <M> void accept(IPagesModelVisitor<M> visitor, M modelObject) throws PagesModelException ;
+ public abstract <M> void accept(IPagesModelVisitor<M> visitor, M modelObject) throws PagesModelException ;
/**
* @return The name used in toString

Back to the top