Redundant cast removal.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@488 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -57,7 +57,7 @@ public class SceneModel extends SimpleStreamableObject
|
||||
*/
|
||||
public void addAuxModel (AuxModel auxModel)
|
||||
{
|
||||
auxModels = (AuxModel[])ArrayUtil.append(auxModels, auxModel);
|
||||
auxModels = ArrayUtil.append(auxModels, auxModel);
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
|
||||
@@ -51,7 +51,7 @@ public class SpotSceneModel extends SimpleStreamableObject
|
||||
*/
|
||||
public void addPortal (Portal portal)
|
||||
{
|
||||
portals = (Portal[])ArrayUtil.append(portals, portal);
|
||||
portals = ArrayUtil.append(portals, portal);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -61,7 +61,7 @@ public class SpotSceneModel extends SimpleStreamableObject
|
||||
{
|
||||
int pidx = ListUtil.indexOf(portals, portal);
|
||||
if (pidx != -1) {
|
||||
portals = (Portal[])ArrayUtil.splice(portals, pidx, 1);
|
||||
portals = ArrayUtil.splice(portals, pidx, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user