From dae7f598a77a2ea8ee4cbdc1bc8d12b64d9a5f68 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Mon, 1 Jul 2013 07:45:42 -0700 Subject: j3dcore: remove some redundant casts to HashKey Signed-off-by: Harvey Harrison --- .../share/javax/media/j3d/ViewSpecificGroupRetained.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java b/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java index 5b83b4c..fc42d0b 100644 --- a/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java +++ b/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java @@ -90,7 +90,7 @@ ArrayList> parentLists = new ArrayList>(); } */ objAry[3] = super.processViewSpecificInfo(ADD_VIEW, - (HashKey)key, view, + key, view, addVsgList, addKeyList, addLeafList); J3dMessage message = new J3dMessage(); message.type = J3dMessage.VIEWSPECIFICGROUP_CHANGED; @@ -185,14 +185,14 @@ void setView(View view, int index) { if (oldView != null && (parentList == null || parentList.contains(oldView))) { removeVsgList.add(this); removeKeyList[0] = k; - objAry[7] = super.processViewSpecificInfo(REMOVE_VIEW, (HashKey)key, + objAry[7] = super.processViewSpecificInfo(REMOVE_VIEW, key, oldView, removeVsgList, removeKeyList, removeLeafList); } if (view != null && (parentList == null || parentList.contains(view))) { addVsgList.add(this); addKeyList[0] = k; - objAry[3] = super.processViewSpecificInfo(ADD_VIEW, (HashKey)key, + objAry[3] = super.processViewSpecificInfo(ADD_VIEW, key, view, addVsgList, addKeyList, addLeafList); } J3dMessage message = new J3dMessage(); @@ -231,14 +231,14 @@ void setView(View view, int index) { if (oldView != null && (parentList == null || parentList.contains(oldView))) { removeVsgList.add(this); removeKeyList[0] = 0; - objAry[7] = super.processViewSpecificInfo(REMOVE_VIEW, (HashKey)tempKey, + objAry[7] = super.processViewSpecificInfo(REMOVE_VIEW, tempKey, oldView, removeVsgList, removeKeyList, removeLeafList); } if (view != null && (parentList == null || parentList.contains(view))) { tempKey.reset(); addVsgList.add(this); addKeyList[0] = 0; - objAry[3] = super.processViewSpecificInfo(ADD_VIEW, (HashKey)tempKey, + objAry[3] = super.processViewSpecificInfo(ADD_VIEW, tempKey, view, addVsgList, addKeyList, addLeafList); } J3dMessage message = new J3dMessage(); @@ -345,7 +345,7 @@ View getView(int index) { } */ objAry[3] = super.processViewSpecificInfo(ADD_VIEW, - (HashKey)key, view, + key, view, addVsgList, addKeyList, addLeafList); J3dMessage message = new J3dMessage(); message.type = J3dMessage.VIEWSPECIFICGROUP_CHANGED; @@ -432,7 +432,7 @@ View getView(int index) { removeKeyList[0] = k; objAry[3] = super.processViewSpecificInfo(REMOVE_VIEW, - (HashKey)key,v, + key,v, removeVsgList, removeKeyList, removeLeafList); @@ -469,7 +469,7 @@ View getView(int index) { tempKey.reset(); objAry[3] = super.processViewSpecificInfo(REMOVE_VIEW, - (HashKey)tempKey, v, + tempKey, v, removeVsgList, removeKeyList, removeLeafList); /* -- cgit v1.2.3