This is an automated email from the ASF dual-hosted git repository. lkishalmi 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 54e8afb74b #5023: Formatting preferences for Java contains bad sample code 54e8afb74b is described below commit 54e8afb74b5247a878779bf318c704afacd38dd0 Author: Scott Palmer <swpal...@gmail.com> AuthorDate: Mon Nov 28 17:53:59 2022 -0500 #5023: Formatting preferences for Java contains bad sample code --- java/java.source/src/org/netbeans/modules/java/ui/Bundle.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java/java.source/src/org/netbeans/modules/java/ui/Bundle.properties b/java/java.source/src/org/netbeans/modules/java/ui/Bundle.properties index 98f2309528..7589b9380d 100644 --- a/java/java.source/src/org/netbeans/modules/java/ui/Bundle.properties +++ b/java/java.source/src/org/netbeans/modules/java/ui/Bundle.properties @@ -493,10 +493,11 @@ case 2\:\ default\:\ return number > 100 ? -1 : -2;\ }\ +}\ public int add(int a, int b) {\ return a + b;\ }\ -} } +} #do not translate SAMPLE_Comments=public class ClassA {\n\ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists