summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-07-02 21:24:10 -0700
committerHarvey Harrison <[email protected]>2013-07-02 21:24:10 -0700
commitab0de103495ac412be89bd76a4dd71924ec568a9 (patch)
treee48f3d2efc7e17ab22715d32a5c597bcd0165f1a
parentb3db399f7ddcc43fde5ef76f21626b4e0748e82e (diff)
j3dcore: trivial list annotation in TransformStructure
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/javax/media/j3d/TransformStructure.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/TransformStructure.java b/src/classes/share/javax/media/j3d/TransformStructure.java
index 0076f58..09c8909 100644
--- a/src/classes/share/javax/media/j3d/TransformStructure.java
+++ b/src/classes/share/javax/media/j3d/TransformStructure.java
@@ -70,7 +70,7 @@ class TransformStructure extends J3dStructure implements ObjectUpdate {
new ArrayList<TransformGroupRetained>();
// contains TG that have been previously changed but just switched-on
- private ArrayList switchDirtyTgList = new ArrayList(1);
+ private ArrayList<TransformGroupRetained> switchDirtyTgList = new ArrayList<TransformGroupRetained>(1);
private boolean lazyUpdate = false;
@@ -285,8 +285,7 @@ class TransformStructure extends J3dStructure implements ObjectUpdate {
// activeTraverseList contains switched-on tg as well
tSize = activeTraverseList.size();
- TransformGroupRetained[] tgs =
- (TransformGroupRetained[])activeTraverseList.toArray(new TransformGroupRetained[tSize]);
+ TransformGroupRetained[] tgs = activeTraverseList.toArray(new TransformGroupRetained[tSize]);
// process active TGs
if (tSize > 0) {