Skip to content

Commit

Permalink
'#1868 Calls date.get(Calendar.HOUR_OF_DAY) to force internal Calendar
Browse files Browse the repository at this point in the history
fields computation.
  • Loading branch information
patrickdalla committed Sep 12, 2023
1 parent f6eae92 commit b673cf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public synchronized void set(Property property, Date date) {
@Override
public synchronized void set(Property property, Calendar date) {
checkReadOnly();
date.get(Calendar.HOUR_OF_DAY);
super.set(property, date);
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<plugin.rsc>${basedir}/resources/plugins</plugin.rsc>

<!--dependencies-->
<tika.version>2.4.0</tika.version>
<tika.version>2.4.0</tika.version><!-- SyncMetadata change done in commit 7811b9a can be reverted when version is upgraded to include solution of https://issues.apache.org/jira/browse/TIKA-4126 -->
<tika.core.version>2.4.0-p1</tika.core.version>
<pdfbox.version>2.0.27</pdfbox.version>
<lucene.version>9.2.0</lucene.version>
Expand Down

0 comments on commit b673cf4

Please sign in to comment.