Mercurial > hg > Members > tatsuki > Alice
changeset 187:95e09be8be69 working
minor change
author | e095732 |
---|---|
date | Thu, 07 Mar 2013 11:42:13 +0900 |
parents | 91b6251ef6c8 |
children | 38d6a10be9c6 |
files | src/alice/test/codesegment/local/TestLocalAlice.java src/alice/test/codesegment/local/bitonicsort/LocalBitonicSort.java src/alice/test/codesegment/local/mergesort/LocalMergeSort.java |
diffstat | 3 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/test/codesegment/local/TestLocalAlice.java Thu Mar 07 02:21:19 2013 +0900 +++ b/src/alice/test/codesegment/local/TestLocalAlice.java Thu Mar 07 11:42:13 2013 +0900 @@ -1,7 +1,11 @@ package alice.test.codesegment.local; +import alice.daemon.AliceDaemon; +import alice.daemon.Config; + public class TestLocalAlice { public static void main(String args[]) { + new AliceDaemon(new Config(args)).listen(); // logger off new StartCodeSegment().execute(); }
--- a/src/alice/test/codesegment/local/bitonicsort/LocalBitonicSort.java Thu Mar 07 02:21:19 2013 +0900 +++ b/src/alice/test/codesegment/local/bitonicsort/LocalBitonicSort.java Thu Mar 07 11:42:13 2013 +0900 @@ -5,11 +5,9 @@ public class LocalBitonicSort { public static void main(String[] args){ - // logger off - Config conf = new Config(args); - new AliceDaemon(conf).listen(); + new AliceDaemon(new Config(args)).listen(); // logger off - SortConfig sconf = new SortConfig(args); - new SetInfo(sconf).execute(); + SortConfig conf = new SortConfig(args); + new SetInfo(conf).execute(); } }
--- a/src/alice/test/codesegment/local/mergesort/LocalMergeSort.java Thu Mar 07 02:21:19 2013 +0900 +++ b/src/alice/test/codesegment/local/mergesort/LocalMergeSort.java Thu Mar 07 11:42:13 2013 +0900 @@ -1,7 +1,12 @@ package alice.test.codesegment.local.mergesort; +import alice.daemon.AliceDaemon; +import alice.daemon.Config; + public class LocalMergeSort { public static void main(String[] args){ + new AliceDaemon(new Config(args)).listen(); // logger off + SortConfig conf = new SortConfig(args); new SortStart(conf).execute(); }