diff --git a/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/commands/HelloWorldCommands.java b/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/commands/HelloWorldCommands.java index 490ab14a..cd83f124 100644 --- a/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/commands/HelloWorldCommands.java +++ b/samples/helloworld/src/main/java/org/springframework/shell/samples/helloworld/commands/HelloWorldCommands.java @@ -23,7 +23,7 @@ public class HelloWorldCommands implements CommandMarker { } @CliAvailabilityIndicator({"hw complex", "hw enum"}) - public boolean isComplexCommandAvailable() { + public boolean isComplexAvailable() { if (simpleCommandExecuted) { return true; } else {