Skip to content

Commit

Permalink
Remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Nov 16, 2023
1 parent 6021196 commit b09b182
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ public String getExtent() {
public void setExtent(String extent) {
this.extent = extent;
}

}
10 changes: 9 additions & 1 deletion Kitodo-API/src/main/java/org/kitodo/api/dataformat/View.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ public boolean equals(Object o) {
return false;
}
View view = (View) o;
return Objects.equals(physicalDivision.getDivId(), view.physicalDivision.getDivId());
return Objects.equals(physicalDivision, view.physicalDivision);
}

@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((physicalDivision == null) ? 0 : physicalDivision.hashCode());
return hashCode;
}
}

0 comments on commit b09b182

Please sign in to comment.