Skip to content

Commit

Permalink
ome#167 equals() comparing objects of different types
Browse files Browse the repository at this point in the history
  • Loading branch information
scuniff committed Nov 10, 2023
1 parent 88aef0f commit 64e57e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ome/services/ThumbnailBean.java
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ public byte[] getThumbnailWithoutDefault(Integer sizeX, Integer sizeY) {
private byte[] retrieveThumbnailAndUpdateMetadata(boolean rewriteMetadata)
{
byte[] thumbnail = retrieveThumbnail(rewriteMetadata);
if (inProgress && !PROGRESS_VERSION.equals(thumbnailMetadata)) {
if (inProgress && !PROGRESS_VERSION.equals(thumbnailMetadata.getVersion())) {
thumbnailMetadata.setVersion(PROGRESS_VERSION);
dirtyMetadata = true;
}
Expand Down

0 comments on commit 64e57e3

Please sign in to comment.