File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
protoc-gen-java-optional/src/main/java/org/grpcmock/protoc/plugin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ public class OptionalGenerator extends Generator {
3232
3333 private static final String DELIMITER = "\n " ;
3434 private static final String JAVA_EXTENSION = ".java" ;
35- private static final String DIR_SEPARATOR = java . io . File . separator ;
36- private static final String TEMPLATES_DIRECTORY = "templates/" ;
35+ private static final String DIR_SEPARATOR = "/" ;
36+ private static final String TEMPLATES_DIRECTORY = "templates" + DIR_SEPARATOR ;
3737 private static final String METHOD_NAME = "javaMethodName" ;
3838 private static final String FIELD_TYPE = "javaFieldType" ;
3939 private static final String OPTIONAL_CLASS = "optionalClass" ;
You can’t perform that action at this time.
0 commit comments