 {
     public function StreamableHashMap (keyClazz :Class = null)
     {
-        if (keyClazz != null) {
-            super(Maps.newMapOf(keyClazz));
-        }
+        super(keyClazz == null ? DEFAULT_MAP : Maps.newMapOf(keyClazz));
     }
 
     // documentation inherited from interface Streamable


import com.threerings.util.Maps;
import com.threerings.util.maps.ForwardingMap;

/**
 * A Map that can be sent over the wire, bearing in mind that all keys and values must

            _source = Maps.newMapOf(String); // hope for the best
        }
    }

    protected static const DEFAULT_MAP :Map = new ImmutableMap(new HashMap());
}
}
