From 22ed9aef9b6de5abd3d7985109342c6e8615b3eb Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Tue, 13 Dec 2022 09:31:41 -0700 Subject: [PATCH] Fix deprecated method use in new test --- .../java/cloud/commandframework/CommandSuggestionsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud-core/src/test/java/cloud/commandframework/CommandSuggestionsTest.java b/cloud-core/src/test/java/cloud/commandframework/CommandSuggestionsTest.java index ce679e11..c1627fd1 100644 --- a/cloud-core/src/test/java/cloud/commandframework/CommandSuggestionsTest.java +++ b/cloud-core/src/test/java/cloud/commandframework/CommandSuggestionsTest.java @@ -519,7 +519,7 @@ public class CommandSuggestionsTest { manager.command( manager.commandBuilder("command") .argument( - StringArgument.newBuilder("string") + StringArgument.builder("string") .greedy() .withSuggestionsProvider((context, input) -> Collections.singletonList("hello world")) .build())