TAMAYA-149 Use varargs for the main method to allow it to be used in the example.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/commit/6170818e Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/tree/6170818e Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/diff/6170818e Branch: refs/heads/master Commit: 6170818eb5751fce822658fcc0c14cedd0027297 Parents: 1379095 Author: John D. Ament <johndam...@apache.org> Authored: Tue Apr 19 20:40:57 2016 -0400 Committer: John D. Ament <johndam...@apache.org> Committed: Tue Apr 19 20:40:57 2016 -0400 ---------------------------------------------------------------------- .../src/main/java/org/apache/tamaya/server/ConfigServiceApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/6170818e/server/src/main/java/org/apache/tamaya/server/ConfigServiceApp.java ---------------------------------------------------------------------- diff --git a/server/src/main/java/org/apache/tamaya/server/ConfigServiceApp.java b/server/src/main/java/org/apache/tamaya/server/ConfigServiceApp.java index 880c4f5..c8a2810 100644 --- a/server/src/main/java/org/apache/tamaya/server/ConfigServiceApp.java +++ b/server/src/main/java/org/apache/tamaya/server/ConfigServiceApp.java @@ -56,7 +56,7 @@ public class ConfigServiceApp { } } - public static void main(String[] args) throws Exception { + public static void main(String... args) throws Exception { Configuration config = ConfigurationProvider.getConfiguration(); String contextPath = config.getOrDefault("tamaya.server.contextPath", "/"); String appBase = ".";