diff src/main/java/alice/test/topology/share/CheckLocalIndex.java @ 547:e91a574b69de dispose

remove index
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Tue, 18 Aug 2015 16:15:17 +0900
parents 15eeb439830c
children
line wrap: on
line diff
--- a/src/main/java/alice/test/topology/share/CheckLocalIndex.java	Tue Aug 04 19:39:47 2015 +0900
+++ b/src/main/java/alice/test/topology/share/CheckLocalIndex.java	Tue Aug 18 16:15:17 2015 +0900
@@ -13,10 +13,10 @@
     private Receiver host = ids.create(CommandType.PEEK);
 
 
-    public CheckLocalIndex(String key, int index) {
-        this.host.setKey("host", arg1.index, this);
-        this.list.setKey("_CLIST", arg1.index, this);
-        this.data.setKey(key, index);
+    public CheckLocalIndex(String key) {
+        this.host.setKey("host", this);
+        this.list.setKey("_CLIST", this);
+        this.data.setKey(key, this);
     }
 
     @Override
@@ -37,7 +37,7 @@
         if (count == 0 && flag) {
             ods.put("parent", "data", data.getVal());
         }
-        new CheckLocalIndex(data.key, data.index);
+        new CheckLocalIndex(data.key);
 
     }