Copy Java's valueOf factory method for primitive wrapper classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4217 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -44,7 +44,7 @@ public class SpeakMarshaller extends InvocationMarshaller
|
||||
// documentation inherited from interface
|
||||
public function speak (arg1 :Client, arg2 :String, arg3 :int) :void
|
||||
{
|
||||
sendRequest(arg1, SPEAK, [ arg2, new Byte(arg3) ]);
|
||||
sendRequest(arg1, SPEAK, [ arg2, Byte.valueOf(arg3) ]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user