Don't do it twice. Yes, I'm embracing making things more "actionscripty",
including some implicit coercian to a Boolean, which can actually be quite dangerous... but only with Strings and Numbers and whatnot. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5907 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -40,9 +40,6 @@ public class ObjectInputStream
|
|||||||
|
|
||||||
public function ObjectInputStream (source :IDataInput = null, clientProps :Object = null)
|
public function ObjectInputStream (source :IDataInput = null, clientProps :Object = null)
|
||||||
{
|
{
|
||||||
if (source == null) {
|
|
||||||
source = new ByteArray();
|
|
||||||
}
|
|
||||||
_source = source || new ByteArray();
|
_source = source || new ByteArray();
|
||||||
_cliProps = clientProps || {};
|
_cliProps = clientProps || {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user