From 9dc974b38188447a943c20511a6f9f6157552df9 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Mon, 1 Jul 2013 07:56:25 -0700 Subject: j3dcore: annotate the changeViewList in SetLiveState Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/GroupRetained.java | 4 ++-- src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java | 4 ++-- src/classes/share/javax/media/j3d/SetLiveState.java | 2 +- src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/classes/share/javax/media/j3d/GroupRetained.java b/src/classes/share/javax/media/j3d/GroupRetained.java index 41aa477..971fa15 100644 --- a/src/classes/share/javax/media/j3d/GroupRetained.java +++ b/src/classes/share/javax/media/j3d/GroupRetained.java @@ -1553,7 +1553,7 @@ synchronized void setAltAppScope() { if (s.inViewSpecificGroup && (s.changedViewGroup == null)) { s.changedViewGroup = new ArrayList(); - s.changedViewList = new ArrayList(); + s.changedViewList = new ArrayList>(); s.keyList = new int[10]; s.viewScopedNodeList = new ArrayList(); s.scopedNodesViewList = new ArrayList>(); @@ -1715,7 +1715,7 @@ synchronized void setAltAppScope() { if (s.inViewSpecificGroup && (s.changedViewGroup == null)) { s.changedViewGroup = new ArrayList(); - s.changedViewList = new ArrayList(); + s.changedViewList = new ArrayList>(); s.keyList = new int[10]; s.viewScopedNodeList = new ArrayList(); s.scopedNodesViewList = new ArrayList>(); diff --git a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java index 99f5096..703df5a 100644 --- a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java +++ b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java @@ -1398,14 +1398,14 @@ int processAltApps(ArrayList globalAltApps, RenderA void initViewSpecificInfo(J3dMessage m) { int[] keys = (int[])m.args[2]; - ArrayList vlists = (ArrayList)m.args[1]; + ArrayList> vlists = (ArrayList>)m.args[1]; ArrayList vsgs = (ArrayList)m.args[0]; if (vsgs != null) { // System.err.println("===> non null Vsg"); int size = vsgs.size(); for (int i = 0; i < size; i++) { ViewSpecificGroupRetained v = vsgs.get(i); - ArrayList l = (ArrayList)vlists.get(i); + ArrayList l = vlists.get(i); int index = keys[i]; // System.err.println("v = "+v+" index = "+index+" l = "+l); v.cachedViewList.add(index, l); diff --git a/src/classes/share/javax/media/j3d/SetLiveState.java b/src/classes/share/javax/media/j3d/SetLiveState.java index 23dec9c..ac6fd92 100644 --- a/src/classes/share/javax/media/j3d/SetLiveState.java +++ b/src/classes/share/javax/media/j3d/SetLiveState.java @@ -100,7 +100,7 @@ ArrayList> altAppearances = null; // false then only viewList(0) is valid ArrayList> viewLists = null; ArrayList changedViewGroup = null; - ArrayList changedViewList = null; +ArrayList> changedViewList = null; int[] keyList = null; diff --git a/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java b/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java index f7bc046..d1a3115 100644 --- a/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java +++ b/src/classes/share/javax/media/j3d/ViewSpecificGroupRetained.java @@ -539,7 +539,7 @@ Enumeration getAllViews() { ArrayList> savedViewList = s.viewLists; if (s.changedViewGroup == null) { s.changedViewGroup = new ArrayList(); - s.changedViewList = new ArrayList(); + s.changedViewList = new ArrayList>(); s.keyList = new int[10]; s.viewScopedNodeList = new ArrayList(); s.scopedNodesViewList = new ArrayList>(); @@ -553,7 +553,7 @@ Enumeration getAllViews() { ArrayList> savedViewList = s.viewLists; if (s.changedViewGroup == null) { s.changedViewGroup = new ArrayList(); - s.changedViewList = new ArrayList(); + s.changedViewList = new ArrayList>(); s.keyList = new int[10]; s.viewScopedNodeList = new ArrayList(); s.scopedNodesViewList = new ArrayList>(); -- cgit v1.2.3