Use String.replace() with single char if possible
See gh-8089
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user