Skip to content

Commit b4c374a

Browse files
authored
Don't log ClassAlreadyExistsException for Enum
Fix #1555
1 parent 72050f6 commit b4c374a

File tree

1 file changed

+0
-1
lines changed
  • jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/rules

1 file changed

+0
-1
lines changed

jsonschema2pojo-core/src/main/java/org/jsonschema2pojo/rules/EnumRule.java

-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ public JType apply(String nodeName, JsonNode node, JsonNode parent, JClassContai
115115
try {
116116
_enum = createEnum(node, nodeName, container);
117117
} catch (ClassAlreadyExistsException e) {
118-
ruleFactory.getLogger().error("Could not create enum.", e);
119118
return e.getExistingClass();
120119
}
121120

0 commit comments

Comments
 (0)