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

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


The following commit(s) were added to refs/heads/main by this push:
     new 275f9d9bc TIKA-4327: replace deprecated
275f9d9bc is described below

commit 275f9d9bce2920dc5b4d42d8ee8f7b17d504763d
Author: Tilman Hausherr <[email protected]>
AuthorDate: Sat Aug 16 21:44:39 2025 +0200

    TIKA-4327: 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