You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by pl...@apache.org on 2016/09/16 22:03:14 UTC

[04/50] [abbrv] incubator-tamaya-extensions git commit: TAMAYA-149 Use varargs for the main method to allow it to be used in the example.

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 <jo...@apache.org>
Authored: Tue Apr 19 20:40:57 2016 -0400
Committer: John D. Ament <jo...@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 = ".";