From 9bcded68c764c912c0df40bed881cfee6c948aea Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sun, 27 Jan 2013 10:12:09 -0800 Subject: j3dcore: remove unused local variable from TextureBin Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/TextureBin.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/classes/share') diff --git a/src/classes/share/javax/media/j3d/TextureBin.java b/src/classes/share/javax/media/j3d/TextureBin.java index ef1ff25..88ae82e 100644 --- a/src/classes/share/javax/media/j3d/TextureBin.java +++ b/src/classes/share/javax/media/j3d/TextureBin.java @@ -200,7 +200,7 @@ HashMap transparentRenderMoleculeMap = new HashMa void resetTextureState(TextureUnitStateRetained[] state) { - int i, j; + int i; boolean foundDisableUnit = false; numActiveTexUnit = 0; lastActiveTexUnitIndex = 0; @@ -448,10 +448,6 @@ HashMap transparentRenderMoleculeMap = new HashMa * This tests if the qiven textureUnitState matches this TextureBin */ boolean equals(TextureUnitStateRetained state[], RenderAtom ra) { - - int i, j, k = 0; - TextureRetained texture; - // if this TextureBin is a soleUser case or the incoming // app has changedFrequent bit set for any of the texture // related component, then either the current TextureBin @@ -500,7 +496,7 @@ HashMap transparentRenderMoleculeMap = new HashMa if (state.length != texUnitState.length) return (false); - for (i = 0; i < texUnitState.length; i++) { + for (int i = 0; i < texUnitState.length; i++) { // If texture Unit State is null if (texUnitState[i] == null) { if (state[i] != null) @@ -1288,8 +1284,6 @@ void render(Canvas3D cv, TransparentRenderingInfo rlist) { void changeLists(RenderMolecule r) { RenderMolecule renderMoleculeList, rmlist = null, head; HashMap allMap = null; - ArrayList list; - int index; boolean newRM = false; // System.err.println("changeLists r = "+r+" tBin = "+this); // If its a new RM then do nothing, otherwise move lists -- cgit v1.2.3