Mercurial > hg > Database > Alice
diff src/main/java/alice/test/codesegment/remote/TestRemoteConfig.java @ 419:aefbe41fcf12 dispose
change tab to space
author | sugi |
---|---|
date | Tue, 15 Jul 2014 16:00:22 +0900 |
parents | 8f71c3e6f11d |
children | 1a860019b2fe 4835788cbb7e |
line wrap: on
line diff
--- a/src/main/java/alice/test/codesegment/remote/TestRemoteConfig.java Tue Jul 15 06:15:53 2014 +0900 +++ b/src/main/java/alice/test/codesegment/remote/TestRemoteConfig.java Tue Jul 15 16:00:22 2014 +0900 @@ -4,21 +4,21 @@ public class TestRemoteConfig extends Config { - public String hostname; - public int connectPort = 10000; - public String key; + public String hostname; + public int connectPort = 10000; + public String key; - public TestRemoteConfig(String[] args) { - super(args); - for (int i = 0; i< args.length; i++) { - if ("-h".equals(args[i])) { - hostname = args[++i]; - } else if ("-cp".equals(args[i])) { - connectPort = Integer.parseInt(args[++i]); - } else if ("-key".equals(args[i])) { - key = args[++i]; - } - } - } + public TestRemoteConfig(String[] args) { + super(args); + for (int i = 0; i< args.length; i++) { + if ("-h".equals(args[i])) { + hostname = args[++i]; + } else if ("-cp".equals(args[i])) { + connectPort = Integer.parseInt(args[++i]); + } else if ("-key".equals(args[i])) { + key = args[++i]; + } + } + } }