Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dk2k authored and THausherr committed Aug 4, 2024
1 parent 8bc21f1 commit 768ae0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,9 @@ private ImageSavingParser(Parser downstreamParser) {
public File requestSave(String embeddedName) throws IOException {
String suffix = ".tika";

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

File tmp = Files.createTempFile("tika-embedded-", suffix).toFile();
Expand Down

0 comments on commit 768ae0a

Please sign in to comment.