Use varargs to make construction plainer.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@66 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -53,7 +53,7 @@ public class SceneUpdateMarshaller
|
|||||||
* type, it should be replaced with null in the class list to reserve
|
* type, it should be replaced with null in the class list to reserve
|
||||||
* the old type id that it represented.
|
* the old type id that it represented.
|
||||||
*/
|
*/
|
||||||
public SceneUpdateMarshaller (Class[] typesClasses)
|
public SceneUpdateMarshaller (Class ... typesClasses)
|
||||||
{
|
{
|
||||||
for (Class c : typesClasses) {
|
for (Class c : typesClasses) {
|
||||||
registerUpdateClass(c);
|
registerUpdateClass(c);
|
||||||
|
|||||||
Reference in New Issue
Block a user