Nixed JavaConstants.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4434 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-10-24 22:16:57 +00:00
parent a83c70dd0f
commit 0a89eedc6c
3 changed files with 9 additions and 9 deletions
@@ -4,7 +4,7 @@ import com.threerings.io.Streamable;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.util.JavaConstants;
import com.threerings.util.Short;
public /* abstract */ class UpstreamMessage
implements Streamable
@@ -41,7 +41,7 @@ public /* abstract */ class UpstreamMessage
*/
protected static function nextMessageId () :int
{
_nextMessageId = (_nextMessageId + 1) % JavaConstants.SHORT_MAX_VALUE;
_nextMessageId = (_nextMessageId + 1) % Short.MAX_VALUE;
return _nextMessageId;
}