Mercurial > hg > Database > jungle-network
comparison src/alice/jungle/datasegment/store/operations/DefaultTreeOperationLogContainer.java @ 36:1255ae20d52e
remove msgpack.register in DefaultTreeOperation unconvert method
author | one |
---|---|
date | Thu, 04 Jul 2013 20:04:12 +0900 |
parents | bf696a6334b2 |
children | 12d87bb4b84d |
comparison
equal
deleted
inserted
replaced
35:054dc02c117d | 36:1255ae20d52e |
---|---|
120 DefaultTreeOperationContainer container = new DefaultTreeOperationContainer(); | 120 DefaultTreeOperationContainer container = new DefaultTreeOperationContainer(); |
121 container.unconvert(treeOp); | 121 container.unconvert(treeOp); |
122 Value v = msgpack.unconvert(container); | 122 Value v = msgpack.unconvert(container); |
123 list.add(v); | 123 list.add(v); |
124 } | 124 } |
125 /* */ | |
126 msgpack.register(List.class, new ListTemplate(ValueTemplate.getInstance())); | |
127 Value listValue = msgpack.unconvert(list); | 125 Value listValue = msgpack.unconvert(list); |
128 logValue = listValue; | 126 logValue = listValue; |
129 } | 127 } |
130 | 128 |
131 public DefaultTreeOperationLog convert() throws IOException { | 129 public DefaultTreeOperationLog convert() throws IOException { |