jmark99 commented on a change in pull request #2558:
URL: https://github.com/apache/accumulo/pull/2558#discussion_r824869870
##########
File path:
core/src/main/java/org/apache/accumulo/core/clientImpl/ThriftTransportKey.java
##########
@@ -91,7 +91,7 @@ public boolean equals(Object o) {
}
public final void precomputeHashCode() {
- hashCode();
+ var unusedRetVal = hashCode();
Review comment:
Assigning the result of the hashCode to final int removes EP error. Is
that going to cause other issues in Eclipse or elsewhere? If so, can re-work to
make use of log.trace message or find another means to use return value. Did
not want to add assertNonNull or similar in non-test code.
--
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]