MCPcopy Create free account
hub / github.com/castello/spring_basic / equals

Method equals

ch4/CommentDto.java:22–28  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

20 }
21
22 @Override
23 public boolean equals(Object o) {
24 if (this == o) return true;
25 if (o == null || getClass() != o.getClass()) return false;
26 CommentDto that = (CommentDto) o;
27 return Objects.equals(cno, that.cno) && Objects.equals(bno, that.bno) && Objects.equals(pcno, that.pcno) && Objects.equals(comment, that.comment) && Objects.equals(commenter, that.commenter);
28 }
29
30 @Override
31 public int hashCode() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected