Skip to content

Commit

Permalink
tmp: pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Jun 18, 2024
1 parent 14eabcd commit 9472384
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions baseline.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ subprojects {
// TODO this is a recently added check. Figure out whether we adjust the code or suppress for good
'-Xep:DangerousJavaDeserialization:WARN',
'-Xep:DangerousThreadPoolExecutorUsage:OFF',
'-Xep:DefaultLocale:ERROR',
// subclasses are not equal
'-Xep:EqualsGetClass:OFF',
// specific to Palantir
Expand Down Expand Up @@ -121,6 +122,7 @@ subprojects {
'-Xep:TypeParameterUnusedInFormals:OFF',
// Palantir's UnnecessarilyQualified may throw during analysis
'-Xep:UnnecessarilyQualified:OFF',
'-Xep:UnusedMethod:ERROR',
)
}
}
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/apache/iceberg/util/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public Schema load(Pair<Class<?>, Class<?>> key) {
private Y second;

/** Constructor used by Avro */
@SuppressWarnings("UnusedMethod")
private Pair(Schema schema) {
this.schema = schema;
}
Expand Down

0 comments on commit 9472384

Please sign in to comment.