Some error message clarification, added java.lang.String to Translations, some
widening. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4560 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -28,7 +28,6 @@ public class ObjectOutputStream
|
||||
var cname :String;
|
||||
if (obj is TypedArray) {
|
||||
cname = (obj as TypedArray).getJavaType();
|
||||
|
||||
} else {
|
||||
cname = ClassUtil.getClassName(obj);
|
||||
}
|
||||
@@ -47,8 +46,7 @@ public class ObjectOutputStream
|
||||
_classMap.put(cname, cmap);
|
||||
|
||||
if (_nextCode > Short.MAX_VALUE) {
|
||||
throw new Error("Too many unique classes written to " +
|
||||
"ObjectOutputStream");
|
||||
throw new Error("Too many unique classes written to ObjectOutputStream");
|
||||
}
|
||||
|
||||
writeShort(-cmap.code);
|
||||
|
||||
Reference in New Issue
Block a user