From 7bca831e576565983490a0afb3ca4b920189dff1 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Tue, 26 Jun 2012 23:45:36 -0700 Subject: j3dcore: J3DMessage.args is Object[], remove unneeded casts Signed-off-by: Harvey Harrison --- .../media/j3d/RenderingEnvironmentStructure.java | 20 ++++++++++---------- 1 file 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); -- cgit v1.2.3