aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-07-05 21:41:21 -0700
committerHarvey Harrison <[email protected]>2012-07-05 21:41:21 -0700
commit808bead94820e3a84945181736dc555256e1fc31 (patch)
tree2927c32ab52057959de373484254c3154e62f9a7
parent39e91d00042591db67eed6681d29833b5c8d6c0a (diff)
j3dcore: remove some unused variables in AlternateAppearanceRetained
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java14
1 files 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<GroupRetained> scopes = new Vector<GroupRetained>();
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<GroupRetained> scopes = new Vector<GroupRetained>();
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<GroupRetained> scopes = new Vector<GroupRetained>();
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<GroupRetained> scopes = new Vector<GroupRetained>();
}
void setLive(SetLiveState s) {
- Vector currentScopes;
- int i, nscopes;
- TransformGroupRetained[] tlist;
if (inImmCtx) {
throw new IllegalSharingException(J3dI18N.getString("AlternateAppearanceRetained13"));
@@ -603,7 +595,7 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>();
// 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);