From a92f965a9c20e583adbe9299cb998fd92a89e584 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sun, 27 Jan 2013 23:25:30 -0800 Subject: j3dcore: annotate switchLevels list in SwitchRetained Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/SwitchRetained.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/classes/share/javax/media/j3d/SwitchRetained.java b/src/classes/share/javax/media/j3d/SwitchRetained.java index bcf48a4..b7af900 100644 --- a/src/classes/share/javax/media/j3d/SwitchRetained.java +++ b/src/classes/share/javax/media/j3d/SwitchRetained.java @@ -60,8 +60,8 @@ class SwitchRetained extends GroupRetained implements TargetsInterface // A boolean indication that something changed boolean isDirty = true; - // switchLevel per key, used in traversing switch children - ArrayList switchLevels = new ArrayList(1); +// switchLevel per key, used in traversing switch children +ArrayList switchLevels = new ArrayList(1); // key which identifies a unique path from a locale to this switch link HashKey switchKey = new HashKey(); @@ -280,12 +280,12 @@ ArrayList> childrenSwitchStates = null; if (inSharedGroup) { for (i=0; i> childrenSwitchStates = null; // first traverse this node's child if (inSharedGroup) { for (j=0; j> childrenSwitchStates = null; } } } else { - switchLevel = ((Integer)switchLevels.get(0)).intValue(); + switchLevel = switchLevels.get(0).intValue(); switchRoot = (switchLevel == 0)? this : null; size = children.size(); for (i=0; i