Skip to content

Commit

Permalink
tmp: pedantic
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Jun 20, 2024
1 parent 16c764f commit e6f0e1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions baseline.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ 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:DefaultCharset:ERROR',
'-Xep:DefaultLocale:ERROR',
// subclasses are not equal
'-Xep:EqualsGetClass:OFF',
// specific to Palantir
Expand Down Expand Up @@ -121,6 +123,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 e6f0e1f

Please sign in to comment.