changeset 247:6e042fde5662

minor change
author sugi
date Tue, 28 May 2013 17:53:02 +0900
parents 6f8236208875
children 913ee9dfec4f
files .settings/org.eclipse.core.resources.prefs src/alice/test/codesegment/local/bitonicsort/SortPhase.java
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/.settings/org.eclipse.core.resources.prefs	Tue May 21 16:29:49 2013 +0900
+++ b/.settings/org.eclipse.core.resources.prefs	Tue May 28 17:53:02 2013 +0900
@@ -1,5 +1,4 @@
 eclipse.preferences.version=1
 encoding//src/alice/test/codesegment/local/bitonicsort/SortTest.java=UTF-8
 encoding//src/alice/test/codesegment/local/wordcount/SeparateArray.java=UTF-8
-encoding//src/alice/test/codesegment/local/wordcount/SetTask.java=UTF-8
 encoding//src/alice/test/codesegment/local/wordcount/WordCount.java=UTF-8
--- a/src/alice/test/codesegment/local/bitonicsort/SortPhase.java	Tue May 21 16:29:49 2013 +0900
+++ b/src/alice/test/codesegment/local/bitonicsort/SortPhase.java	Tue May 28 17:53:02 2013 +0900
@@ -6,18 +6,15 @@
 
 public class SortPhase extends CodeSegment{
 	private Receiver info0 = ids.create(CommandType.PEEK); // range
-	private Receiver info1; 							   // Array1
-	private Receiver info2; 							   // Array2
+	private Receiver info1 = ids.create(CommandType.TAKE); // Array1
+	private Receiver info2 = ids.create(CommandType.TAKE); // Array2
 	private Receiver info3 = ids.create(CommandType.PEEK); // sort_count
 	private Receiver info4 = ids.create(CommandType.TAKE); // count
 	
 	
 	public SortPhase(String key0, String key1, String key2, int index, String key4){
-		// this setKey doesn't have to use. 
 		info0.setKey(key0);
-		info1 = ids.create(CommandType.TAKE);
 		info1.setKey(key1,index);
-		info2 = ids.create(CommandType.TAKE);
 		info2.setKey(key2,index);
 		info3.setKey("sort_count");
 		info4.setKey(key4);