You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ti...@apache.org on 2024/08/04 03:46:19 UTC

(tika) branch branch_2x updated (139c959d4 -> 768ae0add)

This is an automated email from the ASF dual-hosted git repository.

tilman pushed a change to branch branch_2x
in repository https://gitbox.apache.org/repos/asf/tika.git


    from 139c959d4 TIKA-4239: update sqlite, tukaani
     new 8bc21f161 Need to use returned value of substring()
     new 768ae0add fixed typos

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


(tika) 02/02: fixed typos

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch branch_2x
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 768ae0add0dfc132264d41a0a5ed5e19c49d3000
Author: Dmitry Kryukov <dk...@ya.ru>
AuthorDate: Sat Aug 3 15:16:48 2024 +0300

    fixed typos
---
 tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java b/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
index 21d3a9137..c8c69e82f 100644
--- a/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
+++ b/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
@@ -609,9 +609,9 @@ public class TikaGUI extends JFrame implements ActionListener, HyperlinkListener
         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();


(tika) 01/02: Need to use returned value of substring()

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tilman pushed a commit to branch branch_2x
in repository https://gitbox.apache.org/repos/asf/tika.git

commit 8bc21f161a56130b0df6090aef29f0dd735965cd
Author: Dmitry Kryukov <dk...@ya.ru>
AuthorDate: Fri Aug 2 23:02:17 2024 +0300

    Need to use returned value of substring()
---
 tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java b/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
index 8bb54ac5e..21d3a9137 100644
--- a/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
+++ b/tika-app/src/main/java/org/apache/tika/gui/TikaGUI.java
@@ -609,9 +609,9 @@ public class TikaGUI extends JFrame implements ActionListener, HyperlinkListener
         public File requestSave(String embeddedName) throws IOException {
             String suffix = ".tika";
 
-            int splitAt = embeddedName.lastIndexOf('.');
+            int splitAt = ebeddedNamem.lastIndexOf('.');
             if (splitAt > 0) {
-                embeddedName.substring(splitAt);
+                ebeddedName = embeddedName.substring(splitAt);
             }
 
             File tmp = Files.createTempFile("tika-embedded-", suffix).toFile();