Skip to content

Commit 6b657ea

Browse files
committed
TIKA-4455: replace deprecated
1 parent 1d40f78 commit 6b657ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tika-server/tika-server-core/src/test/java/org/apache/tika/server/core/TikaServerConfigTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ public void testPorts() throws Exception {
9393
.builder("p")
9494
.longOpt("port")
9595
.hasArg()
96-
.build())
96+
.get())
9797
.addOption(Option
9898
.builder("c")
9999
.longOpt("config")
100100
.hasArg()
101-
.build()), new String[]{"-p", "9994-9999", "-c", ProcessUtils.escapeCommandLine(path
101+
.get()), new String[]{"-p", "9994-9999", "-c", ProcessUtils.escapeCommandLine(path
102102
.toAbsolutePath()
103103
.toString())});
104104
TikaServerConfig config = TikaServerConfig.load(commandLine);

0 commit comments

Comments
 (0)