diff options
author | Harvey Harrison <[email protected]> | 2013-02-23 17:02:28 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-02-23 17:02:28 -0800 |
commit | d52a7330a69e296857481216e4d46d3dd97a5b59 (patch) | |
tree | f16e4a5072efd5a3711362b4f835aabc804c4e8a /src | |
parent | 72cc343ab5c220a7f79a3ac51112b9feefdcb16a (diff) |
j3dcore: annotate list of LightRetained
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/javax/media/j3d/LightRetained.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/classes/share/javax/media/j3d/LightRetained.java b/src/classes/share/javax/media/j3d/LightRetained.java index 89b50dc..3a28e2a 100644 --- a/src/classes/share/javax/media/j3d/LightRetained.java +++ b/src/classes/share/javax/media/j3d/LightRetained.java @@ -125,10 +125,10 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); boolean isViewScoped = false; - /** - * Temporary list of newly added mirror lights, during any setlive - */ - ArrayList newlyAddedMirrorLights = new ArrayList(); +/** + * Temporary list of newly added mirror lights, during any setlive + */ +ArrayList<LightRetained> newlyAddedMirrorLights = new ArrayList<LightRetained>(); // Target threads to be notified when light changes static final int targetThreads = J3dThread.UPDATE_RENDERING_ENVIRONMENT | @@ -868,7 +868,7 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); LightRetained[] mlts = new LightRetained[newlyAddedMirrorLights.size()]; for (int i = 0; i < mlts.length; i++) { - mlts[i] = (LightRetained)newlyAddedMirrorLights.get(i); + mlts[i] = newlyAddedMirrorLights.get(i); } createMessage.args[2] = new Integer(mlts.length); createMessage.args[3] = mlts; @@ -965,7 +965,7 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); J3dMessage createMessage = new J3dMessage(); LightRetained[] mlts = new LightRetained[newlyAddedMirrorLights.size()]; for (int i = 0; i < mlts.length; i++) { - mlts[i] = (LightRetained)newlyAddedMirrorLights.get(i); + mlts[i] = newlyAddedMirrorLights.get(i); } createMessage.threads = J3dThread.UPDATE_RENDERING_ENVIRONMENT; createMessage.universe = universe; |