Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
clean up from compat mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwawi committed Nov 23, 2015
1 parent 5a1a928 commit bbbe4c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ public interface Service {
* @return a new instance of this service that is up and running.
* @throws ApolloHelpException if the user wants to show command-line help and not start the
* application.
* @throws ApolloCompatException if Apollo compatibility mode was requested but the command line
* was not in the Apollo format.
* @throws ApolloCliException if something else related to CLI parsing failed.
* @throws java.io.IOException if the application could not start for some other reason.
*/
Expand All @@ -70,8 +68,6 @@ public interface Service {
* @return a new instance of this service that is up and running.
* @throws ApolloHelpException if the user wants to show command-line help and not start the
* application.
* @throws ApolloCompatException if Apollo compatibility mode was requested but the command line
* was not in the Apollo format.
* @throws ApolloCliException if something else related to CLI parsing failed.
* @throws java.io.IOException if the application could not start for some other reason.
*/
Expand All @@ -87,8 +83,6 @@ public interface Service {
* @return a new instance of this service that is up and running.
* @throws ApolloHelpException if the user wants to show command-line help and not start the
* application.
* @throws ApolloCompatException if Apollo compatibility mode was requested but the command line
* was not in the Apollo format.
* @throws ApolloCliException if something else related to CLI parsing failed.
* @throws java.io.IOException if the application could not start for some other reason.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,6 @@ static Config parseArgs(
return config;
}

private static boolean flag(String arg) {
return arg.startsWith("-");
}

static Config appendConfig(Config config, String key, Object value, String description) {
return config.withValue(key, ConfigValueFactory.fromAnyRef(value, description));
}
Expand Down

0 comments on commit bbbe4c3

Please sign in to comment.