Checkstyle related changes
@@ -97,11 +97,13 @@ public class Compiler {
for (String tok: toks) {
// if any classpath entry contains a whitespace char,
// enclose the entry in double quotes
- if(tok.matches(".*\\s+.*"))
+ if (tok.matches(".*\\s+.*")) {
correctedEntries.add("\"" + tok + "\"");
- else
+ }
+ else {
correctedEntries.add(tok);
}
+ }
return String.join(File.pathSeparator, correctedEntries);
}
