Skip to content

Commit

Permalink
#157 update the example
Browse files Browse the repository at this point in the history
Signed-off-by: Emily Jiang <emijiang6@googlemail.com>
  • Loading branch information
Emily-Jiang committed Jul 5, 2017
1 parent 5f2141d commit 10b0e11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/src/main/asciidoc/configexamples.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ public class ConfigUsageSample {
Config config = ConfigProvider.getConfig();
String serverUrl = config.getValue("acme.myprj.some.url", String.class);
Integer serverPort = config.getValue("acme.myprj.some.port", Integer.class);
callToServer(serverUrl, serverPort);
callToServer(serverUrl);
}
}
----
Expand Down

0 comments on commit 10b0e11

Please sign in to comment.