From 9fdc8148fa820fc9166a9820e63181efeb30a649 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Wed, 27 Jun 2012 00:32:11 -0700 Subject: j3dcore: annotate switch list in LOD Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/LOD.java | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/classes/share/javax/media/j3d/LOD.java b/src/classes/share/javax/media/j3d/LOD.java index e4dc2c1..c0c00d4 100644 --- a/src/classes/share/javax/media/j3d/LOD.java +++ b/src/classes/share/javax/media/j3d/LOD.java @@ -44,10 +44,10 @@ public abstract class LOD extends Behavior { WakeupOnElapsedFrames wakeupFrame = new WakeupOnElapsedFrames(0, true); - /** - * The LOD Node's vector of switch nodes. - */ - Vector switches = new Vector(5); +/** + * The LOD Node's vector of switch nodes. + */ +Vector switches = new Vector(5); /** * Constructs and initializes an LOD node. @@ -91,14 +91,14 @@ public abstract class LOD extends Behavior { switches.removeElementAt(index); } - /** - * Returns the switch node specified by the index. - * @param index which switch node to return - * @return the switch node at location index - */ - public Switch getSwitch(int index) { - return (Switch) switches.elementAt(index); - } +/** + * Returns the switch node specified by the index. + * @param index which switch node to return + * @return the switch node at location index + */ +public Switch getSwitch(int index) { + return switches.elementAt(index); +} /** * Returns the enumeration object of all switches. -- cgit v1.2.3