Skip to content

Commit 09fdcda

Browse files
committed
fixes #91 update one test case to ensure compatibility of Java 6
1 parent ebd8068 commit 09fdcda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/networknt/schema/CustomMetaSchemaTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private List<String> readStringList(JsonNode node) {
8080
if (!node.isArray()) {
8181
throw new JsonSchemaException("Keyword enum needs to receive an array");
8282
}
83-
ArrayList<String> result = new ArrayList<>(node.size());
83+
ArrayList<String> result = new ArrayList<String>(node.size());
8484
for (JsonNode child : node) {
8585
result.add(child.asText());
8686
}

0 commit comments

Comments
 (0)