Skip to content

Commit

Permalink
use unix dir separator always, closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
Fadelis committed Feb 12, 2022
1 parent c87483a commit b9ec310
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class OptionalGenerator extends Generator {

private static final String DELIMITER = "\n";
private static final String JAVA_EXTENSION = ".java";
private static final String DIR_SEPARATOR = java.io.File.separator;
private static final String TEMPLATES_DIRECTORY = "templates/";
private static final String DIR_SEPARATOR = "/";
private static final String TEMPLATES_DIRECTORY = "templates" + DIR_SEPARATOR;
private static final String METHOD_NAME = "javaMethodName";
private static final String FIELD_TYPE = "javaFieldType";
private static final String OPTIONAL_CLASS = "optionalClass";
Expand Down

0 comments on commit b9ec310

Please sign in to comment.