Fix #1621
This commit is contained in:
parent
d1cc240397
commit
95b92b06e9
@ -62,5 +62,9 @@
|
||||
<artifactId>spring-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
@ -23,7 +23,7 @@ import org.apache.commons.lang3.StringUtils;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import com.google.common.base.Objects;
|
||||
|
||||
/**
|
||||
* @author nkorange
|
||||
@ -138,7 +138,7 @@ public abstract class AbstractHealthChecker implements Cloneable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(path, headers, expectedResponseCode);
|
||||
return Objects.hashCode(path, headers, expectedResponseCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -184,7 +184,7 @@ public abstract class AbstractHealthChecker implements Cloneable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(TYPE);
|
||||
return Objects.hashCode(TYPE);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -250,7 +250,7 @@ public abstract class AbstractHealthChecker implements Cloneable {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(user, pwd, cmd);
|
||||
return Objects.hashCode(user, pwd, cmd);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user