MCPcopy Index your code
hub / github.com/castello/spring_basic / equals

Method equals

ch4/BoardDto.java:14–20  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

12 private Date reg_date;
13
14 @Override
15 public boolean equals(Object o) {
16 if (this == o) return true;
17 if (o == null || getClass() != o.getClass()) return false;
18 BoardDto boardDto = (BoardDto) o;
19 return Objects.equals(bno, boardDto.bno) && Objects.equals(title, boardDto.title) && Objects.equals(content, boardDto.content) && Objects.equals(writer, boardDto.writer);
20 }
21
22 @Override
23 public int hashCode() {

Callers 2

selectTestMethod · 0.95
updateTestMethod · 0.95

Calls

no outgoing calls

Tested by 2

selectTestMethod · 0.76
updateTestMethod · 0.76