Use String.replace() with single char if possible

See gh-8089
This commit is contained in:
dreis
2017-01-24 19:39:17 +01:00
committed by Stephane Nicoll
parent 551bfb2c60
commit d58f38f6f6
19 changed files with 23 additions and 23 deletions

View File

@@ -99,7 +99,7 @@ public class TestCompiler {
}
public static String sourcePathFor(Class<?> type) {
return type.getName().replace(".", "/") + ".java";
return type.getName().replace('.', '/') + ".java";
}
protected File getSourceFolder() {