Commits

Brian McKenna committed c1a000e

Replace ' ,' separator with ', ' in parameter list

Comments (0)

Files changed (1)

src/main/java/org/jreversepro/output/AbstractClassOutputterImpl.java

 
   /**
    * Returns a string that contains all the imported classes in the proper
-   * format as written in code. For eg, if the list contains p1.class1 ,
-   * p2.class2 , this generates a string with import statements for both of
+   * format as written in code. For eg, if the list contains p1.class1,
+   * p2.class2, this generates a string with import statements for both of
    * them. classes belonging to the default package are excluded. Also there is
    * an option by which we can exclude the classes that belong to a given
    * package ( current package ).
       int baseVariableIndex = method.isStatic() ? 0 : 1;
       for (int i = 0; i < args.size(); i++) {
         if (i != 0) {
-          sb.append(" ,");
+          sb.append(", ");
         }
         String jvmArgType = args.get(i);
         String argType = Import.getClassName(TypeInferrer.getJLSType(
       for (int i = 0; i < size; i++) {
         String thrownClass = throwsClasses.get(i);
         if (i > 0) {
-          sb.append(" ,");
+          sb.append(", ");
         }
         sb.append(Import.getClassName(thrownClass));
       }