Skip to content

Commit

Permalink
TIKA-4291: remove unneeded code
Browse files Browse the repository at this point in the history
  • Loading branch information
THausherr committed Aug 5, 2024
1 parent 6c62c2d commit e003ef9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,6 @@ private void insertAll(String emitKey, List<Metadata> metadataList) throws SQLEx
private void insertFirstOnly(String emitKey, List<Metadata> metadataList) throws SQLException {
insertStatement.clearParameters();
int i = 0;
DateFormat[] dateFormats = new DateFormat[TIKA_DATE_PATTERNS.length];
for (int j = 0; j < TIKA_DATE_PATTERNS.length; j++) {
dateFormats[i] = new SimpleDateFormat(TIKA_DATE_PATTERNS[j], Locale.US);
}
insertStatement.setString(++i, emitKey);
for (ColumnDefinition columnDefinition : columns) {
updateValue(emitKey, insertStatement, ++i, columnDefinition, 0, metadataList);
Expand Down

0 comments on commit e003ef9

Please sign in to comment.