Skip to content

Commit

Permalink
Merge pull request #32 from sebastian-toepfer/errorprone_falsepositives
Browse files Browse the repository at this point in the history
suppress errorprone false positives
  • Loading branch information
sebastian-toepfer authored Oct 9, 2023
2 parents 97c8bba + e24d19b commit a59f9b5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand All @@ -61,6 +62,7 @@ private boolean isIntegral(final BigDecimal decimal) {
},
STRING(JsonValue.ValueType.STRING);

@SuppressWarnings("ImmutableEnumChecker")
private final Collection<JsonValue.ValueType> validTypes;

InstanceType(final JsonValue.ValueType... validTypes) {
Expand Down

0 comments on commit a59f9b5

Please sign in to comment.