summaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
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() {