aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-07-31 11:30:52 -0700
committerHarvey Harrison <[email protected]>2013-07-31 11:30:52 -0700
commit7552082d0f2fe7eff590ddf814eaec0b54ad3d8a (patch)
tree9ff830e1cbce6698454bb717aedc8c6964dc523d /src/classes
parent5398c2da0adf3e54eab3cc8dfc520459e9f402a7 (diff)
j3dcore: trivial annotation of an Arraylist temp variable
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/Shape3DRetained.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classes/share/javax/media/j3d/Shape3DRetained.java b/src/classes/share/javax/media/j3d/Shape3DRetained.java
index d086508..7af82a7 100644
--- a/src/classes/share/javax/media/j3d/Shape3DRetained.java
+++ b/src/classes/share/javax/media/j3d/Shape3DRetained.java
@@ -978,7 +978,7 @@ Enumeration getAllGeometries(int id) {
Shape3DRetained shape;
GeometryRetained geometry;
int i, j, k, gaCnt;
- ArrayList msList = new ArrayList();
+ ArrayList<Shape3DRetained> msList = new ArrayList<Shape3DRetained>();
super.doSetLive(s);
@@ -1138,7 +1138,7 @@ Enumeration getAllGeometries(int id) {
}
for (k = 0; k < msList.size(); k++) {
- Shape3DRetained sh = (Shape3DRetained)msList.get(k);
+ Shape3DRetained sh = msList.get(k);
if (appearance != null) {
synchronized(appearance.liveStateLock) {