aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-06-26 23:45:36 -0700
committerHarvey Harrison <[email protected]>2012-06-26 23:45:36 -0700
commit7bca831e576565983490a0afb3ca4b920189dff1 (patch)
treedbd3facdfb1e154b15d06353d49e907646b2fb76
parentf5a734ce3ca680dbdc4862f3004aa0639271c348 (diff)
j3dcore: J3DMessage.args is Object[], remove unneeded casts
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java
index 6c5a001..2083cf9 100644
--- a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java
+++ b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java
@@ -196,25 +196,25 @@ public void updateObject() {
removeNodes(m);
break;
case J3dMessage.LIGHT_CHANGED:
- updateLight((Object[])m.args);
+ updateLight(m.args);
break;
case J3dMessage.BOUNDINGLEAF_CHANGED:
- updateBoundingLeaf((Object[])m.args);
+ updateBoundingLeaf(m.args);
break;
case J3dMessage.FOG_CHANGED:
- updateFog((Object[])m.args);
+ updateFog(m.args);
break;
case J3dMessage.ALTERNATEAPPEARANCE_CHANGED:
- updateAltApp((Object[])m.args);
+ updateAltApp(m.args);
break;
case J3dMessage.SHAPE3D_CHANGED:
- updateShape3D((Object[])m.args);
+ updateShape3D(m.args);
break;
case J3dMessage.ORIENTEDSHAPE3D_CHANGED:
- updateOrientedShape3D((Object[])m.args);
+ updateOrientedShape3D(m.args);
break;
case J3dMessage.MORPH_CHANGED:
- updateMorph((Object[])m.args);
+ updateMorph(m.args);
break;
case J3dMessage.TRANSFORM_CHANGED:
transformMsg = true;
@@ -227,13 +227,13 @@ public void updateObject() {
}
break;
case J3dMessage.MODELCLIP_CHANGED:
- updateModelClip((Object[])m.args);
+ updateModelClip(m.args);
break;
case J3dMessage.BACKGROUND_CHANGED:
- updateBackground((Object[])m.args);
+ updateBackground(m.args);
break;
case J3dMessage.CLIP_CHANGED:
- updateClip((Object[])m.args);
+ updateClip(m.args);
break;
case J3dMessage.ORDERED_GROUP_INSERTED:
updateOrderedGroupInserted(m);