Commits

Brian McKenna committed e07464a

Remove SPACE constant

  • Participants
  • Parent commits 3777b08

Comments (0)

Files changed (2)

src/main/java/org/jreversepro/ast/expression/InstanceOfExpression.java

     String classType = Import.getClassName(TypeInferrer.getJLSType(
         referenceType, false));
 
-    return reference.getJLSCode() + JLSConstants.SPACE
-        + JLSConstants.INSTANCEOF + JLSConstants.SPACE + classType;
+    return reference.getJLSCode() + " " + JLSConstants.INSTANCEOF + " " + classType;
   }
 
   Expression reference;

src/main/java/org/jreversepro/jls/JLSConstants.java

 
   String NEW = "new";
 
-  char SPACE = ' ';
-
   String OPEN_SQUARE_BRACKET = "[";
 
   String CLOSE_SQUARE_BRACKET = "]";