Mercurial > hg > Members > nobuyasu > jungle-network
diff src/alice/jungle/persistence/PersistentJungle.java @ 88:0c98717f186e
Removed cast code
author | one |
---|---|
date | Tue, 05 Nov 2013 09:13:30 +0900 |
parents | f142dd4abc74 |
children |
line wrap: on
line diff
--- a/src/alice/jungle/persistence/PersistentJungle.java Tue Nov 05 08:41:12 2013 +0900 +++ b/src/alice/jungle/persistence/PersistentJungle.java Tue Nov 05 09:13:30 2013 +0900 @@ -55,7 +55,7 @@ DefaultTreeNode root = new DefaultTreeNode(); ChangeSet set = new PersistentChangeSet(root.getAsNode(),null,list,uuid,_name,0); DefaultTreeContext<DefaultTreeNode> tc = new DefaultTreeContext<DefaultTreeNode>(root,set); - JungleTree newTree = new PersistentJungleTree<DefaultTreeNode>(_name, tc,uuid, (PersistentChangeListWriter)journal.getWriter(),editor); + JungleTree newTree = new PersistentJungleTree<DefaultTreeNode>(_name, tc,uuid, journal.getWriter(),editor); if(trees.putIfAbsent(_name,newTree) != null){ return null; }