This commit is contained in:
cbornet
2016-06-08 11:38:44 +02:00
parent b4d521ca7b
commit 23278bb51d

View File

@@ -362,7 +362,8 @@ public class JavaClientCodegen extends DefaultCodegen implements CodegenConfig {
}
if(additionalProperties.containsKey(DATE_LIBRARY)) {
this.dateLibrary = additionalProperties.get(DATE_LIBRARY).toString();
setDateLibrary(additionalProperties.get(DATE_LIBRARY).toString());
additionalProperties.put(dateLibrary, "true");
}
if("joda".equals(dateLibrary)) {
@@ -1035,7 +1036,5 @@ public class JavaClientCodegen extends DefaultCodegen implements CodegenConfig {
this.useRxJava = useRxJava;
}
public void setDateLibrary(String library) {
this.dateLibrary = library;
}
public void setDateLibrary(String library) { this.dateLibrary = library; }
}