Mercurial > hg > Members > nobuyasu > jungle-network
diff src/alice/jungle/persistence/PersistentChangeListWriter.java @ 88:0c98717f186e
Removed cast code
author | one |
---|---|
date | Tue, 05 Nov 2013 09:13:30 +0900 |
parents | f142dd4abc74 |
children | eef737ab3b2c |
line wrap: on
line diff
--- a/src/alice/jungle/persistence/PersistentChangeListWriter.java Tue Nov 05 08:41:12 2013 +0900 +++ b/src/alice/jungle/persistence/PersistentChangeListWriter.java Tue Nov 05 09:13:30 2013 +0900 @@ -20,10 +20,9 @@ } @Override - public Result write(ChangeList _operations) + public Result write(ChangeList cs) { - PersistentChangeList plist = (PersistentChangeList) _operations; - NetworkTreeOperationLog log = new NetworkTreeOperationLog(plist.uuid(), plist.getTreeName(), plist.getTreeOperationLog()); + NetworkTreeOperationLog log = new NetworkTreeOperationLog(cs.uuid(), cs.getTreeName(), cs); try { msgpack.write(out, log); out.flush();