vdiravka commented on a change in pull request #1397: DRILL-6633: Replace usage
of Guava classes by JDK ones
URL: https://github.com/apache/drill/pull/1397#discussion_r210750297
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/coord/store/TransientStoreConfig.java
##########
@@ -47,15 +48,15 @@ public String getName() {
@Override
public int hashCode() {
- return Objects.hashCode(name, serializer);
+ return Objects.hash(name, serializer);
}
@Override
public boolean equals(Object obj) {
if (obj instanceof TransientStoreConfig &&
obj.getClass().equals(getClass())) {
@SuppressWarnings("unchecked")
- final TransientStoreConfig<V> other = (TransientStoreConfig<V>)obj;
- return Objects.equal(name, other.name) && Objects.equal(serializer,
other.serializer);
+ TransientStoreConfig<V> other = (TransientStoreConfig<V>)obj;
Review comment:
space
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services