This is an automated email from the ASF dual-hosted git repository. mklaehn pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit 6c1dddc3a2304cf45cb7a16ff88426c9909b1c12 Author: Martin Klähn <[email protected]> AuthorDate: Fri Feb 18 11:10:10 2022 +0100 Use the blessed modifier order in projects located in groovy projects --- .../qa-functional/src/org/netbeans/test/groovy/GeneralGroovy.java | 2 +- .../org/netbeans/modules/groovy/refactoring/ui/WhereUsedPanel.java | 2 +- .../actions/singlefilerun/SingleGroovySourceRunActionProvider.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/groovy/groovy.editor/test/qa-functional/src/org/netbeans/test/groovy/GeneralGroovy.java b/groovy/groovy.editor/test/qa-functional/src/org/netbeans/test/groovy/GeneralGroovy.java index 85322b9..137a850 100644 --- a/groovy/groovy.editor/test/qa-functional/src/org/netbeans/test/groovy/GeneralGroovy.java +++ b/groovy/groovy.editor/test/qa-functional/src/org/netbeans/test/groovy/GeneralGroovy.java @@ -45,7 +45,7 @@ public class GeneralGroovy extends JellyTestCase { static final String JAVA_CATEGORY_NAME = "Java"; static final String GROOVY_CATEGORY_NAME = "Groovy"; static final String JAVA_PROJECT_NAME = "Java Application"; - static protected final int COMPLETION_LIST_THRESHOLD = 5000; + protected static final int COMPLETION_LIST_THRESHOLD = 5000; protected static final String GROOVY_EXTENSION = ".groovy"; protected static final String SAMPLES = "Samples"; protected static final String SAMPLES_CATEGORY = "Groovy"; diff --git a/groovy/groovy.refactoring/src/org/netbeans/modules/groovy/refactoring/ui/WhereUsedPanel.java b/groovy/groovy.refactoring/src/org/netbeans/modules/groovy/refactoring/ui/WhereUsedPanel.java index 919210c..2694e2c 100644 --- a/groovy/groovy.refactoring/src/org/netbeans/modules/groovy/refactoring/ui/WhereUsedPanel.java +++ b/groovy/groovy.refactoring/src/org/netbeans/modules/groovy/refactoring/ui/WhereUsedPanel.java @@ -284,7 +284,7 @@ public class WhereUsedPanel extends JPanel implements CustomRefactoringPanel { } } - static abstract class WhereUsedInnerPanel extends JPanel { + abstract static class WhereUsedInnerPanel extends JPanel { abstract boolean isSearchInComments(); abstract void initialize(RefactoringElement element); } diff --git a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/actions/singlefilerun/SingleGroovySourceRunActionProvider.java b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/actions/singlefilerun/SingleGroovySourceRunActionProvider.java index 25fad3b..bed0556 100644 --- a/groovy/groovy.support/src/org/netbeans/modules/groovy/support/actions/singlefilerun/SingleGroovySourceRunActionProvider.java +++ b/groovy/groovy.support/src/org/netbeans/modules/groovy/support/actions/singlefilerun/SingleGroovySourceRunActionProvider.java @@ -97,7 +97,7 @@ public class SingleGroovySourceRunActionProvider implements ActionProvider { return isSingleSourceFile(getGroovyFile(context)); } - static private boolean isSingleSourceFile(FileObject fileObject) { + private static boolean isSingleSourceFile(FileObject fileObject) { if (fileObject == null) { return false; } @@ -105,7 +105,7 @@ public class SingleGroovySourceRunActionProvider implements ActionProvider { return p == null; } - static private FileObject getGroovyFile(Lookup lookup) { + private static FileObject getGroovyFile(Lookup lookup) { for (DataObject dObj : lookup.lookupAll(DataObject.class)) { FileObject fObj = dObj.getPrimaryFile(); if (GROOVY_EXTENSION.equals(fObj.getExt().toLowerCase())) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
