diff options
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/RenderBin.java | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java index ac611f0..892bead 100644 --- a/src/classes/share/javax/media/j3d/RenderBin.java +++ b/src/classes/share/javax/media/j3d/RenderBin.java @@ -247,15 +247,15 @@ ArrayList<NodeComponentUpdate> updateCheckList = new ArrayList<NodeComponentUpda RenderMolecule.REMOVE_RENDER_ATOM_IN_RM_LIST, null); - /** - * list of affect OrderedGroups with childIndexOrder changed. - */ - ArrayList ogCIOList = new ArrayList(5); +/** + * list of affect OrderedGroups with childIndexOrder changed. + */ +ArrayList<J3dMessage> ogCIOList = new ArrayList<J3dMessage>(5); - /** - * list of ordered bins from which orderedCollection are added/removed - */ - ArrayList obList = new ArrayList(5); +/** + * list of ordered bins from which orderedCollection are added/removed + */ +ArrayList<OrderedBin> obList = new ArrayList<OrderedBin>(5); /** * Ordered Bin processing @@ -438,16 +438,15 @@ ArrayList<NodeComponentUpdate> updateCheckList = new ArrayList<NodeComponentUpda size = obList.size(); if ( size > 0) { for (i = 0 ; i < size; i++) { - orderBin = (OrderedBin)obList.get(i); + orderBin = obList.get(i); orderBin.addRemoveOrderedCollection(); } } size = ogCIOList.size(); if(size > 0) { - J3dMessage m; for(i=0; i<size; i++) { - m = (J3dMessage) ogCIOList.get(i); + J3dMessage m = ogCIOList.get(i); switch(m.type) { case J3dMessage.ORDERED_GROUP_TABLE_CHANGED: |