diff options
author | Harvey Harrison <[email protected]> | 2012-01-03 23:39:31 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-01-04 00:20:50 -0800 |
commit | d796c435dad8ccc5cffa350f601e00a021301b68 (patch) | |
tree | 5bcd2a2b4f377df88f92c5510d4445d73751d184 | |
parent | 121ead7cb64cedbf84f62d673a9f313c97763f3e (diff) |
j3dcore: add type annotations to RenderBin.updateCheckList
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/classes/share/javax/media/j3d/RenderBin.java | 19 |
1 files changed, 8 insertions, 11 deletions
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<ShaderBin> sBinUpdateList = new ArrayList<ShaderBin>(); */ ArrayList<TextureBin> tbUpdateList = new ArrayList<TextureBin>(); - /** - * 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<NodeComponentUpdate> updateCheckList = new ArrayList<NodeComponentUpdate>(); /** * The number of lights supported by the underlying context. @@ -1865,10 +1864,8 @@ ArrayList<TextureBin> tbUpdateList = new ArrayList<TextureBin>(); 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(); } |