Skip to content

Commit

Permalink
Fixes the issue with the checker framework
Browse files Browse the repository at this point in the history
  • Loading branch information
spacether committed Dec 19, 2023
1 parent 901e2e9 commit 6b8fc9c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,4 @@ public abstract class JsonSchema {
protected JsonSchema(JsonSchemaInfo jsonSchemaInfo) {
this.type = jsonSchemaInfo.type;
}

public static class PathToSchemasMap extends LinkedHashMap<List<Object>, LinkedHashMap<JsonSchema, Void>> {

public void update(PathToSchemasMap other) {
for (Map.Entry<List<Object>, LinkedHashMap<JsonSchema, Void>> entry: other.entrySet()) {
List<Object> pathToItem = entry.getKey();
LinkedHashMap<JsonSchema, Void> otherSchemas = entry.getValue();
if (containsKey(pathToItem)) {
get(pathToItem).putAll(otherSchemas);
} else {
put(pathToItem, otherSchemas);
}
}
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 6b8fc9c

Please sign in to comment.