Whoa, Daddy-O! This is almost like a real abstraction in Java.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6114 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2010-08-10 22:07:48 +00:00
parent 89dfe715d8
commit 83c5fcfb15
+1 -5
View File
@@ -493,11 +493,7 @@ public class Streamer
protected static void createStreamers ()
{
_streamers = Maps.newHashMap();
// register all of the basic streamers
for (Map.Entry<Class<?>,Streamer> entry : BasicStreamers.BSTREAMERS.entrySet()) {
_streamers.put(entry.getKey(), entry.getValue());
}
_streamers.putAll(BasicStreamers.BSTREAMERS); // register all of the basic streamers
}
/** Used to coerce the type system into quietude when reading enums from the wire. */