Skip to content

Commit

Permalink
adding equals to spotbug issues
Browse files Browse the repository at this point in the history
Signed-off-by: salaboy <Salaboy@gmail.com>
  • Loading branch information
salaboy committed Jul 22, 2024
1 parent eca3c02 commit 8b81027
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,4 +438,10 @@ public DaprContainer withPlacementContainer(DaprPlacementContainer placementCont
this.placementContainer = placementContainer;
return this;
}

// Following GenericContainer from Testcontainers
@Override
public boolean equals(Object o) {
return this == o;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ public DaprPlacementContainer withPort(Integer port) {
public int getPort() {
return placementPort;
}

// Following GenericContainer from Testcontainers
@Override
public boolean equals(Object o) {
return this == o;
}
}

0 comments on commit 8b81027

Please sign in to comment.