From d796c435dad8ccc5cffa350f601e00a021301b68 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Tue, 3 Jan 2012 23:39:31 -0800 Subject: j3dcore: add type annotations to RenderBin.updateCheckList Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/RenderBin.java | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java index 279142c..02d4c5c 100644 --- a/src/classes/share/javax/media/j3d/RenderBin.java +++ b/src/classes/share/javax/media/j3d/RenderBin.java @@ -83,14 +83,13 @@ ArrayList sBinUpdateList = new ArrayList(); */ ArrayList tbUpdateList = new ArrayList(); - /** - * List of Bins that are soleUser that have new renderAtom - * added into, which requires a pre-update screening to - * check if any of its node component changes could have been - * missed because the changes happen when all the render atoms - * are temporarily removed from the bin. - */ - ArrayList updateCheckList = new ArrayList(); +/** + * List of Bins that are soleUser that have new renderAtom added into, which + * requires a pre-update screening to check if any of its node component changes + * could have been missed because the changes happen when all the render atoms + * are temporarily removed from the bin. + */ +ArrayList updateCheckList = new ArrayList(); /** * The number of lights supported by the underlying context. @@ -1865,10 +1864,8 @@ ArrayList tbUpdateList = new ArrayList(); if (updateCheckList.size() > 0) { int size = updateCheckList.size(); - NodeComponentUpdate bin; for (int k = 0; k < size; k++) { - bin = (NodeComponentUpdate) updateCheckList.get(k); - bin.updateNodeComponentCheck(); + updateCheckList.get(k).updateNodeComponentCheck(); } updateCheckList.clear(); } -- cgit v1.2.3