This is an automated email from the ASF dual-hosted git repository.

jlahoda pushed a commit to branch release90
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git

commit 33e0b3a7bc359fd02555158d112d3ee47fd06b8c
Author: Vikas Prabhakar <vikas.prabha...@oracle.com>
AuthorDate: Mon Jun 4 10:12:46 2018 +0530

    Apply formatting
---
 .../src/org/netbeans/modules/java/source/save/Reformatter.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java 
b/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
index b531003..fcfc0a5 100644
--- 
a/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
+++ 
b/java.source.base/src/org/netbeans/modules/java/source/save/Reformatter.java
@@ -1199,7 +1199,7 @@ public class Reformatter implements ReformatTask {
                     if (node.getType() == null || scan(node.getType(), p)) {
                         if (node.getType() != null) {
                             spaces(1, fieldGroup);
-                        }else {
+                        } else {
                             if (tokens.token().id() == JavaTokenId.VAR) {
                                 //Add space after 'var' token
                                 addDiff(new Diff(tokens.offset() + 3, 
tokens.offset() + 3, " "));

-- 
To stop receiving notification emails like this one, please contact
jlah...@apache.org.

---------------------------------------------------------------------
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

Reply via email to