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

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


The following commit(s) were added to refs/heads/branch_3x by this push:
     new 6b657ea87 TIKA-4455: replace deprecated
6b657ea87 is described below

commit 6b657ea8740264bb4322a3e2822de9e67ff2205e
Author: Tilman Hausherr <[email protected]>
AuthorDate: Sat Aug 16 21:44:18 2025 +0200

    TIKA-4455: replace deprecated
---
 .../test/java/org/apache/tika/server/core/TikaServerConfigTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerConfigTest.java
 
b/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerConfigTest.java
index 8b2c51fc8..fb5c570c7 100644
--- 
a/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerConfigTest.java
+++ 
b/tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerConfigTest.java
@@ -93,12 +93,12 @@ public class TikaServerConfigTest {
                         .builder("p")
                         .longOpt("port")
                         .hasArg()
-                        .build())
+                        .get())
                 .addOption(Option
                         .builder("c")
                         .longOpt("config")
                         .hasArg()
-                        .build()), new String[]{"-p", "9994-9999", "-c", 
ProcessUtils.escapeCommandLine(path
+                        .get()), new String[]{"-p", "9994-9999", "-c", 
ProcessUtils.escapeCommandLine(path
                 .toAbsolutePath()
                 .toString())});
         TikaServerConfig config = TikaServerConfig.load(commandLine);

Reply via email to