We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119fcf2 commit 79df593Copy full SHA for 79df593
src/generator/org/hamcrest/generator/config/XmlConfigurator.java
@@ -73,7 +73,7 @@ public static void main(String[] args) throws Exception {
73
String fullClassName = args[1];
74
File outputDir = new File(args[2]);
75
76
- String fileName = fullClassName.replaceAll("\\.", File.separator) + ".java";
+ String fileName = fullClassName.replace('.', File.separatorChar) + ".java";
77
int dotIndex = fullClassName.lastIndexOf(".");
78
String packageName = dotIndex == -1 ? "" : fullClassName.substring(0, dotIndex);
79
String shortClassName = fullClassName.substring(dotIndex + 1);
0 commit comments