Skip to content

Commit 642258f

Browse files
committed
Update PrimitivesSummaryMap.java
1 parent 2ac8fce commit 642258f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/saasquatch/jsonschemainferrer/PrimitivesSummaryMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public PrimitivesSummaryMap() {}
2727
* @param sample the new sample
2828
*/
2929
public void addSample(@Nonnull String type, @Nullable String format, @Nonnull JsonNode sample) {
30-
final Entry<String, String> key = newKey(type, format);
30+
final Map.Entry<String, String> key = newKey(type, format);
3131
this.compute(key, (_key, primitivesSummary) -> {
3232
if (primitivesSummary == null) {
3333
primitivesSummary = new PrimitivesSummary();
@@ -46,7 +46,7 @@ public PrimitivesSummary getPrimitivesSummary(@Nonnull String type, @Nullable St
4646
return this.get(newKey(type, format));
4747
}
4848

49-
private static Entry<String, String> newKey(@Nonnull String type, @Nullable String format) {
49+
private static Map.Entry<String, String> newKey(@Nonnull String type, @Nullable String format) {
5050
return entryOf(Objects.requireNonNull(type), format);
5151
}
5252

0 commit comments

Comments
 (0)