Skip to content

Commit

Permalink
Merge pull request #1869 from dk2k/bugfix/use_substring_value
Browse files Browse the repository at this point in the history
TIKA-4290: Need to use returned value of substring()
  • Loading branch information
THausherr committed Aug 3, 2024
2 parents b6e4e60 + 9eb5a5d commit 203d401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ public File requestSave(String embeddedName) throws IOException {

int splitAt = embeddedName.lastIndexOf('.');
if (splitAt > 0) {
embeddedName.substring(splitAt);
embeddedName = embeddedName.substring(splitAt);
}

File tmp = Files
Expand Down

0 comments on commit 203d401

Please sign in to comment.