Skip to content

Commit

Permalink
#2457 Check mappings modified date
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-podolskiy90 committed Jul 2, 2024
1 parent 876eaf6 commit 0b825f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ private void prepareCamtrap() {

boolean mappingsChangedAfterLastTry = resource.getInferredMetadata() != null
&& resource.getInferredMetadata().getLastModified() != null
&& resource.getMappingsModified() != null
&& resource.getMappingsModified().after(resource.getInferredMetadata().getLastModified());

// infer metadata if absent, re-infer if requested or mappings changed
Expand Down

0 comments on commit 0b825f3

Please sign in to comment.