tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject [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.
Date Fri, 16 Sep 2016 22:03:14 GMT
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 <johndament@apache.org>
Authored: Tue Apr 19 20:40:57 2016 -0400
Committer: John D. Ament <johndament@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 = ".";


Mime
View raw message