This is an automated email from the ASF dual-hosted git repository.
mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 8fe7fad Formatted the templates to be inline with the default java
formatting.
new 6e3c72f Merge pull request #3394 from mbien/template-formatting
8fe7fad is described below
commit 8fe7fadc5903df236520cb9f0f9525a5cc97087e
Author: Michael Bien <[email protected]>
AuthorDate: Thu Dec 30 18:58:56 2021 +0100
Formatted the templates to be inline with the default java formatting.
---
.../src/org/netbeans/modules/project/ui/AppTemplate.java.template | 6 +++---
.../src/org/netbeans/modules/maven/resources/App.java.template | 6 +++---
.../src/org/netbeans/modules/maven/resources/AppTest.java.template | 6 +++---
.../src/org/netbeans/modules/templates/AppTemplate.java.template | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git
a/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template
b/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template
index be3dbda..2bdb4a6 100644
---
a/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template
+++
b/ide/projectui/test/unit/src/org/netbeans/modules/project/ui/AppTemplate.java.template
@@ -26,9 +26,9 @@ package ${package};
* @author ${user}
*/
public class ${name} {
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
+
+ public static void main(String[] args) {
+ System.out.println("Hello World!");
}
}
diff --git
a/java/maven/src/org/netbeans/modules/maven/resources/App.java.template
b/java/maven/src/org/netbeans/modules/maven/resources/App.java.template
index fd2daa6..2d42f85 100644
--- a/java/maven/src/org/netbeans/modules/maven/resources/App.java.template
+++ b/java/maven/src/org/netbeans/modules/maven/resources/App.java.template
@@ -12,8 +12,8 @@ package ${package};
* @author ${user}
*/
public class ${name} {
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
+
+ public static void main(String[] args) {
+ System.out.println("Hello World!");
}
}
diff --git
a/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template
b/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template
index 828f4e1..44d5261 100644
--- a/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template
+++ b/java/maven/src/org/netbeans/modules/maven/resources/AppTest.java.template
@@ -15,8 +15,8 @@ import org.junit.Test;
* @author ${user}
*/
public class ${name} {
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
+
+ public static void main(String[] args) {
+ System.out.println("Hello World!");
}
}
diff --git
a/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template
b/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template
index be3dbda..2bdb4a6 100644
---
a/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template
+++
b/platform/api.templates/test/unit/src/org/netbeans/modules/templates/AppTemplate.java.template
@@ -26,9 +26,9 @@ package ${package};
* @author ${user}
*/
public class ${name} {
- public static void main( String[] args )
- {
- System.out.println( "Hello World!" );
+
+ public static void main(String[] args) {
+ System.out.println("Hello World!");
}
}
---------------------------------------------------------------------
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