From 8284198e57746f358d1ff0f1dfe60e91ee26603a Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 13 Aug 2009 06:23:27 +0000 Subject: [PATCH] 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 --- src/as/com/threerings/io/ObjectInputStream.as | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/as/com/threerings/io/ObjectInputStream.as b/src/as/com/threerings/io/ObjectInputStream.as index 332597b19..1f83b056a 100644 --- a/src/as/com/threerings/io/ObjectInputStream.as +++ b/src/as/com/threerings/io/ObjectInputStream.as @@ -40,9 +40,6 @@ public class ObjectInputStream public function ObjectInputStream (source :IDataInput = null, clientProps :Object = null) { - if (source == null) { - source = new ByteArray(); - } _source = source || new ByteArray(); _cliProps = clientProps || {}; }