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 a6bb989e647ea819ef6741c7a3e0edabce59793c Author: Martin Klähn <[email protected]> AuthorDate: Thu Feb 17 22:23:09 2022 +0100 Use the blessed modifier order in projects located in cpplite projects --- .../cpplite/debugger/debuggingview/DebuggingActionsProvider.java | 2 +- .../org/netbeans/modules/cpplite/debugger/AbstractDebugTest.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/debuggingview/DebuggingActionsProvider.java b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/debuggingview/DebuggingActionsProvider.java index 0585757..a5411fb 100644 --- a/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/debuggingview/DebuggingActionsProvider.java +++ b/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/debuggingview/DebuggingActionsProvider.java @@ -123,7 +123,7 @@ public class DebuggingActionsProvider implements NodeActionsProvider { ); } - private static abstract class LazyActionPerformer implements Models.ActionPerformer { + private abstract static class LazyActionPerformer implements Models.ActionPerformer { private RequestProcessor rp; diff --git a/cpplite/cpplite.debugger/test/unit/src/org/netbeans/modules/cpplite/debugger/AbstractDebugTest.java b/cpplite/cpplite.debugger/test/unit/src/org/netbeans/modules/cpplite/debugger/AbstractDebugTest.java index 5e2e811..c4b3077 100644 --- a/cpplite/cpplite.debugger/test/unit/src/org/netbeans/modules/cpplite/debugger/AbstractDebugTest.java +++ b/cpplite/cpplite.debugger/test/unit/src/org/netbeans/modules/cpplite/debugger/AbstractDebugTest.java @@ -54,7 +54,7 @@ public abstract class AbstractDebugTest extends NbTestCase { super(s); } - protected final static void createSourceFile(String fileName, File wd, String content) throws IOException { + protected static final void createSourceFile(String fileName, File wd, String content) throws IOException { FileObject source = FileUtil.createData(FileUtil.toFileObject(wd), "main.cpp"); try (OutputStream os = source.getOutputStream(); Writer w = new OutputStreamWriter(os)) { @@ -62,12 +62,12 @@ public abstract class AbstractDebugTest extends NbTestCase { } } - protected final static void compileC(String name, File wd) throws IOException, InterruptedException { + protected static final void compileC(String name, File wd) throws IOException, InterruptedException { Process compile = new ProcessBuilder("gcc", "-o", name, "-g", name + ".c").directory(wd).start(); assertEquals(0, compile.waitFor()); } - protected final static void compileCPP(String name, File wd) throws IOException, InterruptedException { + protected static final void compileCPP(String name, File wd) throws IOException, InterruptedException { Process compile = new ProcessBuilder("g++", "-o", name, "-g", name + ".cpp").directory(wd).start(); assertEquals(0, compile.waitFor()); } --------------------------------------------------------------------- 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
