Skip to content

Commit

Permalink
Fix #1621
Browse files Browse the repository at this point in the history
  • Loading branch information
nkorange committed Sep 6, 2019
1 parent d1cc240 commit 95b92b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,9 @@
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import com.google.common.base.Objects;

/**
* @author nkorange
Expand Down Expand Up @@ -138,7 +138,7 @@ public void jsonAdapterCallback(SerializeWriter writer) {

@Override
public int hashCode() {
return Objects.hash(path, headers, expectedResponseCode);
return Objects.hashCode(path, headers, expectedResponseCode);
}

@Override
Expand Down Expand Up @@ -184,7 +184,7 @@ public Tcp() {

@Override
public int hashCode() {
return Objects.hash(TYPE);
return Objects.hashCode(TYPE);
}

@Override
Expand Down Expand Up @@ -250,7 +250,7 @@ public void jsonAdapterCallback(SerializeWriter writer) {

@Override
public int hashCode() {
return Objects.hash(user, pwd, cmd);
return Objects.hashCode(user, pwd, cmd);
}

@Override
Expand Down

0 comments on commit 95b92b0

Please sign in to comment.