aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/share
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-01-03 23:22:40 -0800
committerHarvey Harrison <[email protected]>2012-01-04 00:20:50 -0800
commit00b7386e24fa687cb81f0a08a5088ea81ff9b8d0 (patch)
tree4986f4a5c0bf3e5479a8030c4d394e0f1a2569ce /src/classes/share
parent4510536bf9500afbf23df88d861d82ac9de11572 (diff)
j3dcore: add type annotations to RenderBin.sBinUpdateList and .tbUpdateList
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share')
-rw-r--r--src/classes/share/javax/media/j3d/RenderBin.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java
index 655be4b..220d833 100644
--- a/src/classes/share/javax/media/j3d/RenderBin.java
+++ b/src/classes/share/javax/media/j3d/RenderBin.java
@@ -71,17 +71,17 @@ ArrayList<J3dMessage> lightMessageList = new ArrayList<J3dMessage>(5);
ArrayList<RenderMolecule> rmUpdateList = new ArrayList<RenderMolecule>();
ArrayList<AttributeBin> aBinUpdateList = new ArrayList<AttributeBin>();
- /**
- * List of ShaderBin that are soleUser that
- * needs to have its components updated @updateObject time
- */
- ArrayList sBinUpdateList = new ArrayList();
+/**
+ * List of ShaderBin that are soleUser that needs to have its components updated @updateObject
+ * time
+ */
+ArrayList<ShaderBin> sBinUpdateList = new ArrayList<ShaderBin>();
- /**
- * List of TextureBin that are soleUser that
- * needs to have its components updated @updateObject time
- */
- ArrayList tbUpdateList = new ArrayList();
+/**
+ * List of TextureBin that are soleUser that needs to have its components
+ * updated @updateObject time
+ */
+ArrayList<TextureBin> tbUpdateList = new ArrayList<TextureBin>();
/**
* List of Bins that are soleUser that have new renderAtom
@@ -545,7 +545,7 @@ ArrayList<AttributeBin> aBinUpdateList = new ArrayList<AttributeBin>();
if ((size = sBinUpdateList.size()) > 0) {
for (i = 0; i < size; i++) {
- ShaderBin sbin = (ShaderBin)sBinUpdateList.get(i);
+ ShaderBin sbin = sBinUpdateList.get(i);
sbin.updateNodeComponent();
}
}
@@ -555,14 +555,14 @@ ArrayList<AttributeBin> aBinUpdateList = new ArrayList<AttributeBin>();
TextureBin tb;
size = tbUpdateList.size();
for (i = 0; i < size; i++) {
- tb = (TextureBin) tbUpdateList.get(i);
+ tb = tbUpdateList.get(i);
tb.updateNodeComponent();
}
// do another pass to re-sort TextureBin based on the
// texture in the first texture unit state
for (i = 0; i < size; i++) {
- tb = (TextureBin) tbUpdateList.get(i);
+ tb = tbUpdateList.get(i);
// Bug Id : 4701430 - Have to be sure tb.shaderBin is
// not equal to null. This is a temporary fix for j3d1.3.
if (((tb.tbFlag & TextureBin.RESORT) != 0) &&