From ab0de103495ac412be89bd76a4dd71924ec568a9 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Tue, 2 Jul 2013 21:24:10 -0700 Subject: j3dcore: trivial list annotation in TransformStructure Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/TransformStructure.java | 5 ++--- 1 file 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(); // contains TG that have been previously changed but just switched-on - private ArrayList switchDirtyTgList = new ArrayList(1); + private ArrayList switchDirtyTgList = new ArrayList(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) { -- cgit v1.2.3