From e3de56d12a69077b78c09d65b9dcc9a4c8c5c82d Mon Sep 17 00:00:00 2001 From: Mike Thomas Date: Tue, 8 Jun 2010 01:41:24 +0000 Subject: [PATCH] Change that StreamableHashIntMap into a more standard StreamableHashMap git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@922 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/java/com/threerings/miso/data/SparseMisoSceneModel.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/com/threerings/miso/data/SparseMisoSceneModel.java b/src/java/com/threerings/miso/data/SparseMisoSceneModel.java index 79a706a7..7bdf366e 100644 --- a/src/java/com/threerings/miso/data/SparseMisoSceneModel.java +++ b/src/java/com/threerings/miso/data/SparseMisoSceneModel.java @@ -33,7 +33,7 @@ import com.samskivert.util.StringUtil; import com.threerings.io.SimpleStreamableObject; -import com.threerings.util.StreamableHashIntMap; +import com.threerings.util.StreamableHashMap; import com.threerings.media.util.MathUtil; @@ -459,7 +459,7 @@ public class SparseMisoSceneModel extends MisoSceneModel public SparseMisoSceneModel clone () { SparseMisoSceneModel model = (SparseMisoSceneModel)super.clone(); - model._sections = new StreamableHashIntMap
(); + model._sections = StreamableHashMap.newMap(); for (Iterator
iter = getSections(); iter.hasNext(); ) { Section sect = iter.next(); model.setSection(sect.clone()); @@ -468,5 +468,5 @@ public class SparseMisoSceneModel extends MisoSceneModel } /** Contains our sections in row major order. */ - protected StreamableHashIntMap
_sections = new StreamableHashIntMap
(); + protected StreamableHashMap _sections = StreamableHashMap.newMap(); }