aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-06-26 22:06:24 -0700
committerHarvey Harrison <[email protected]>2012-06-26 22:10:24 -0700
commit9f85113f85983cd287f9d9e91b1da32addaeee5b (patch)
tree0037db4f996a9c9c27d9bfd86cbfc93824447775 /src/classes
parent8237ea93f5fc1f4ef6ecc32c0941db0f150ab6bb (diff)
j3dcore: remove unused local variable and unneeded cast from AppearanceRetained
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/AppearanceRetained.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/AppearanceRetained.java b/src/classes/share/javax/media/j3d/AppearanceRetained.java
index 1db9998..14d5ea1 100644
--- a/src/classes/share/javax/media/j3d/AppearanceRetained.java
+++ b/src/classes/share/javax/media/j3d/AppearanceRetained.java
@@ -565,7 +565,7 @@ class AppearanceRetained extends NodeComponentRetained {
TextureUnitStateRetained mirrorStateArray[] =
new TextureUnitStateRetained[stateArray.length];
- args[1] = (Object) mirrorStateArray;
+ args[1] = mirrorStateArray;
for (i = 0; i < stateArray.length; i++) {
TextureUnitState tu = stateArray[i];
@@ -1325,7 +1325,6 @@ class AppearanceRetained extends NodeComponentRetained {
boolean isOpaque(int geoType) {
TransparencyAttributesRetained ta;
- int i;
ta = transparencyAttributes;
if (ta != null &&