# HG changeset patch
# User one
# Date 1373281847 -32400
# Node ID ed4c2e6ab5d1e591e2ec7e0d70af9a40e3ec718b
# Parent 1255ae20d52e90fb0b2bbf2c3587f79018fa6ebd
modified DoubleJungleManager
diff -r 1255ae20d52e -r ed4c2e6ab5d1 .classpath
--- a/.classpath Thu Jul 04 20:04:12 2013 +0900
+++ b/.classpath Mon Jul 08 20:10:47 2013 +0900
@@ -8,5 +8,8 @@
+
+
+
diff -r 1255ae20d52e -r ed4c2e6ab5d1 src/test/alice/jungle/codesegment/CopyAttrJungle2.java
--- a/src/test/alice/jungle/codesegment/CopyAttrJungle2.java Thu Jul 04 20:04:12 2013 +0900
+++ b/src/test/alice/jungle/codesegment/CopyAttrJungle2.java Mon Jul 08 20:10:47 2013 +0900
@@ -50,9 +50,6 @@
editor.success();
new CheckDoubleTreeAttr();
ods.update("count", count);
-
-
-
}
}
diff -r 1255ae20d52e -r ed4c2e6ab5d1 src/test/alice/jungle/codesegment/DoubleJungleManager.java
--- a/src/test/alice/jungle/codesegment/DoubleJungleManager.java Thu Jul 04 20:04:12 2013 +0900
+++ b/src/test/alice/jungle/codesegment/DoubleJungleManager.java Mon Jul 08 20:10:47 2013 +0900
@@ -55,28 +55,18 @@
NodePath path = op.getNodePath();
NodeOperation nodeOp = op.getNodeOperation();
Command c = nodeOp.getCommand();
- String str = "";
String key = "";
switch (c) {
case PUT_ATTRIBUTE:
key = nodeOp.getKey();
ByteBuffer value = nodeOp.getValue();
- if (value.limit() < 100) {
- str = String.format("key:%s,value:%s", key,
- new String(value.array()));
- } else {
- str = String.format("key:%s,value:%d", key, value.limit());
- }
return editor.putAttribute(path, key, value);
case DELETE_ATTRIBUTE:
key = nodeOp.getKey();
- str = String.format("key:%s", nodeOp.getKey());
return editor.deleteAttribute(path, key);
case APPEND_CHILD:
- str = String.format("pos:%d", nodeOp.getPosition());
return editor.addNewChildAt(path, 0);
case DELETE_CHILD:
- str = String.format("pos:%d", nodeOp.getPosition());
return editor.deleteChildAt(path, 0);
}
return null;