summaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-06-27 00:46:33 -0700
committerHarvey Harrison <[email protected]>2012-06-27 00:46:33 -0700
commite85b7eca76120be43689119302c91e4fb3c458b6 (patch)
tree4ffe411a2ce1384be24e5c70b165b1a9c020463a /src/classes
parent8a60a30889779f025cb7d9faf3c06d3342597d28 (diff)
j3dcore: remove redundant casts in CachedTargets
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/CachedTargets.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/CachedTargets.java b/src/classes/share/javax/media/j3d/CachedTargets.java
index 8251ed7..0723d4c 100644
--- a/src/classes/share/javax/media/j3d/CachedTargets.java
+++ b/src/classes/share/javax/media/j3d/CachedTargets.java
@@ -105,8 +105,7 @@ class CachedTargets {
System.arraycopy(targetArr[type], 0, newArr,
0, targetArr[type].length);
targetArr[type] = newArr;
- NnuIdManager.replace((NnuId)oldObj, (NnuId)newObj,
- (NnuId[])targetArr[type]);
+ NnuIdManager.replace(oldObj, newObj, targetArr[type]);
}
void dump() {