diff --git a/src/java/com/threerings/util/DefaultMap.java b/src/java/com/threerings/util/DefaultMap.java index 786e97aad..ab60f4b47 100644 --- a/src/java/com/threerings/util/DefaultMap.java +++ b/src/java/com/threerings/util/DefaultMap.java @@ -95,15 +95,6 @@ public class DefaultMap extends ForwardingMap return new DefaultMap(delegate, creator); } - /** - * Creates a default map backed by the supplied map using the supplied default creator. - */ - public DefaultMap (Map delegate, Function creator) - { - _delegate = delegate; - _creator = creator; - } - /** * Looks up the supplied key in the map, returning the value to which it is mapped. If the key * has no mapping, a default value will be obtained for the requested key and placed into the @@ -119,6 +110,15 @@ public class DefaultMap extends ForwardingMap return value; } + /** + * Creates a default map backed by the supplied map using the supplied default creator. + */ + protected DefaultMap (Map delegate, Function creator) + { + _delegate = delegate; + _creator = creator; + } + @Override // from ForwardingMap protected Map delegate() {