Merge branch '1.5.x'
Closes gh-10457
This commit is contained in:
@@ -38,14 +38,14 @@ import org.springframework.boot.cli.command.run.RunCommand;
|
||||
*/
|
||||
public class DefaultCommandFactory implements CommandFactory {
|
||||
|
||||
private static final List<Command> DEFAULT_COMMANDS = Arrays.<Command>asList(
|
||||
private static final List<Command> defaultCommands = Arrays.<Command>asList(
|
||||
new VersionCommand(), new RunCommand(), new GrabCommand(), new JarCommand(),
|
||||
new WarCommand(), new InstallCommand(), new UninstallCommand(),
|
||||
new InitCommand());
|
||||
|
||||
@Override
|
||||
public Collection<Command> getCommands() {
|
||||
return DEFAULT_COMMANDS;
|
||||
return defaultCommands;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user