diff --git a/api/src/main/java/io/github/sebastiantoepfer/jsonschema/InstanceType.java b/api/src/main/java/io/github/sebastiantoepfer/jsonschema/InstanceType.java index 1d536faf..aa7f4608 100644 --- a/api/src/main/java/io/github/sebastiantoepfer/jsonschema/InstanceType.java +++ b/api/src/main/java/io/github/sebastiantoepfer/jsonschema/InstanceType.java @@ -50,6 +50,7 @@ public boolean isInstance(final JsonValue value) { return result; } + @SuppressWarnings("BigDecimalEquals") private boolean isIntegral(final BigDecimal decimal) { return ( BigDecimal.ZERO.equals(decimal) || @@ -61,6 +62,7 @@ private boolean isIntegral(final BigDecimal decimal) { }, STRING(JsonValue.ValueType.STRING); + @SuppressWarnings("ImmutableEnumChecker") private final Collection validTypes; InstanceType(final JsonValue.ValueType... validTypes) {