aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-01-07 17:20:46 -0800
committerHarvey Harrison <[email protected]>2012-01-07 17:20:46 -0800
commit0a91a334b29623106f97d3f0571229592da0e073 (patch)
treeb62b5b6e913a4430a6988355c4918b2fdebbe0c1 /src/classes
parent69b141acbc673aa38aee1bfbaa58f69fb680fd60 (diff)
j3dcore: annotate a few more lists in RenderBin
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/RenderBin.java21
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: