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:
Michael Bayne
2007-11-10 04:54:36 +00:00
parent eb80403bbe
commit 4a06907ec0
7 changed files with 112 additions and 160 deletions
@@ -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);
}
}