Prevent double registration of commands

This commit is contained in:
Eric Bottard
2017-08-07 12:06:36 +02:00
parent 6497df181d
commit c8e4752119
11 changed files with 182 additions and 41 deletions

View File

@@ -35,7 +35,7 @@ import org.springframework.stereotype.Component;
*
* @author Eric Bottard
*/
@ShellComponent("")
@ShellComponent()
public class Commands {
@ShellMethod(help = "a command whose name looks the same as another one", value = "help me out")