aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-06-15 10:44:54 -0700
committerHarvey Harrison <[email protected]>2013-06-15 10:44:54 -0700
commitabe0c86dbd7ca6a7bd264a2371f504a9ace59cd0 (patch)
treefa55d6b2b9c541926aeffa191b7304438e585ba7
parent333054091dcc2f721d4934c675128892dee7e264 (diff)
j3dcore: trivial generic annotation in RenderBin
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/javax/media/j3d/RenderBin.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java
index 4f2f68a..b09ec69 100644
--- a/src/classes/share/javax/media/j3d/RenderBin.java
+++ b/src/classes/share/javax/media/j3d/RenderBin.java
@@ -367,8 +367,8 @@ ArrayList<RenderAtomListInfo> dirtyList = new ArrayList<RenderAtomListInfo>(5);
int cachedTranspSortMode = View.TRANSPARENCY_SORT_NONE;
- // Temporary dirtylist
- private LinkedHashSet dirtyDepthSortRenderAtom = new LinkedHashSet();
+// Temporary dirtylist
+private LinkedHashSet<RenderAtom> dirtyDepthSortRenderAtom = new LinkedHashSet<RenderAtom>();
private int numDirtyTinfo = 0;
// Eye position in vworld
@@ -861,9 +861,9 @@ ArrayList<RenderAtomListInfo> dirtyList = new ArrayList<RenderAtomListInfo>(5);
if (size > 0) {
TransparentRenderingInfo dirtyList = null;
- Iterator dirtyDepthSortIterator = dirtyDepthSortRenderAtom.iterator();
+ Iterator<RenderAtom> dirtyDepthSortIterator = dirtyDepthSortRenderAtom.iterator();
while (dirtyDepthSortIterator.hasNext()) {
- RenderAtom renderAtom = (RenderAtom)dirtyDepthSortIterator.next();
+ RenderAtom renderAtom = dirtyDepthSortIterator.next();
if (!renderAtom.inRenderBin())
continue;
renderAtom.dirtyMask &= ~RenderAtom.IN_SORTED_POS_DIRTY_TRANSP_LIST;