Polish
This commit is contained in:
committed by
Andy Wilkinson
parent
bcbf7b5511
commit
bfa291f671
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -39,14 +39,14 @@ import org.springframework.boot.cli.command.test.TestCommand;
|
||||
*/
|
||||
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 TestCommand(), 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