comparison src/jungle/test/codesegment/persistence/AliceJournal.java @ 56:ccfe9b5e8f11

bug LogUpdateCodeSegment
author one
date Sun, 14 Jul 2013 21:26:49 +0900
parents f47a02368099
children
comparison
equal deleted inserted replaced
55:25edf76b65dc 56:ccfe9b5e8f11
31 private static class AliceChangeListWriter implements ChangeListWriter 31 private static class AliceChangeListWriter implements ChangeListWriter
32 { 32 {
33 @Override 33 @Override
34 public Result write(ChangeList _operations) 34 public Result write(ChangeList _operations)
35 { 35 {
36 /*
37 for(TreeOperation op : _operations){ 36 for(TreeOperation op : _operations){
38 NodePath p = op.getNodePath(); 37 NodePath p = op.getNodePath();
39 NodeOperation nodeOp = op.getNodeOperation(); 38 NodeOperation nodeOp = op.getNodeOperation();
40 Command c = nodeOp.getCommand(); 39 Command c = nodeOp.getCommand();
41 String args = ""; 40 String args = "";
59 args = String.format("pos:%d",nodeOp.getPosition()); 58 args = String.format("pos:%d",nodeOp.getPosition());
60 break; 59 break;
61 } 60 }
62 System.out.println(String.format("[%s:%s:%s]",c,p,args)); 61 System.out.println(String.format("[%s:%s:%s]",c,p,args));
63 } 62 }
64 */
65 return Result.SUCCESS; 63 return Result.SUCCESS;
66 } 64 }
67 } 65 }
68 66
69 private static class AliceChangeListReader implements ChangeListReader 67 private static class AliceChangeListReader implements ChangeListReader