add comment about java.utils.Objects

This commit is contained in:
wing328
2016-01-05 09:59:27 +08:00
parent ff9e04e4dd
commit 6967c0c2c7
17 changed files with 18 additions and 16 deletions

View File

@@ -481,6 +481,8 @@ public class JavaClientCodegen extends DefaultCodegen implements CodegenConfig {
// needed by all pojos, but not enums
model.imports.add("ApiModelProperty");
model.imports.add("ApiModel");
// comment out below as it's in the model template
//model.imports.add("Objects");
final String lib = getLibrary();
if(StringUtils.isEmpty(lib) || "feign".equals(lib) || "jersey2".equals(lib)) {