nastra opened a new pull request, #6264:
URL: https://github.com/apache/iceberg/pull/6264
This should fix the ErrorProne warning
```
> Task :iceberg-api:compileJava
/home/nastra/Development/workspace/iceberg/api/src/main/java/org/apache/iceberg/transforms/Timestamps.java:69:
warning: [ImmutableEnumChecker] enums should be immutable: 'Timestamps' has
field 'apply' of type
'org.apache.iceberg.util.SerializableFunction<java.lang.Long,java.lang.Integer>',
the declaration of type
'org.apache.iceberg.util.SerializableFunction<java.lang.Long,java.lang.Integer>'
is not annotated with @com.google.errorprone.annotations.Immutable
private final SerializableFunction<Long, Integer> apply;
^
(see https://errorprone.info/bugpattern/ImmutableEnumChecker)
/home/nastra/Development/workspace/iceberg/api/src/main/java/org/apache/iceberg/transforms/Dates.java:66:
warning: [ImmutableEnumChecker] enums should be immutable: 'Dates' has field
'apply' of type 'org.apache.iceberg.transforms.Dates.Apply', the declaration of
type 'org.apache.iceberg.transforms.Dates.Apply' is not annotated with
@com.google.errorprone.annotations.Immutable
private final Apply apply;
^
(see https://errorprone.info/bugpattern/ImmutableEnumChecker)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]