From 808bead94820e3a84945181736dc555256e1fc31 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Thu, 5 Jul 2012 21:41:21 -0700 Subject: j3dcore: remove some unused variables in AlternateAppearanceRetained Signed-off-by: Harvey Harrison --- .../share/javax/media/j3d/AlternateAppearanceRetained.java | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java b/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java index 1a146aa..9f89940 100644 --- a/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java +++ b/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java @@ -433,11 +433,6 @@ Vector scopes = new Vector(); void updateImmediateMirrorObject(Object[] objs) { - GroupRetained group; - Vector currentScopes; - int i, nscopes; - Transform3D trans; - int component = ((Integer)objs[1]).intValue(); if ((component & APPEARANCE_CHANGED) != 0) { mirrorAltApp.appearance = (AppearanceRetained)objs[2]; @@ -482,7 +477,7 @@ Vector scopes = new Vector(); if (addList != null) { mirrorAltApp.isScoped = isScoped; - for (i = 0; i < addList.size(); i++) { + for (int i = 0; i < addList.size(); i++) { Shape3DRetained obj = ((GeometryAtom)addList.get(i)).source; obj.addAltApp(mirrorAltApp); } @@ -490,7 +485,7 @@ Vector scopes = new Vector(); if (removeList != null) { mirrorAltApp.isScoped = isScoped; - for (i = 0; i < removeList.size(); i++) { + for (int i = 0; i < removeList.size(); i++) { Shape3DRetained obj = ((GeometryAtom)removeList.get(i)).source; obj.removeAltApp(mirrorAltApp); } @@ -520,9 +515,6 @@ Vector scopes = new Vector(); } void setLive(SetLiveState s) { - Vector currentScopes; - int i, nscopes; - TransformGroupRetained[] tlist; if (inImmCtx) { throw new IllegalSharingException(J3dI18N.getString("AlternateAppearanceRetained13")); @@ -603,7 +595,7 @@ Vector scopes = new Vector(); // in the mirror object createMessage.args[1]= new Integer(INIT_MIRROR); ArrayList addScopeList = new ArrayList(); - for (i = 0; i < scopes.size(); i++) { + for (int i = 0; i < scopes.size(); i++) { GroupRetained group = scopes.get(i); tempKey.reset(); group.addAllNodesForScopedAltApp(mirrorAltApp, addScopeList, tempKey); -- cgit v1.2.3