diff options
author | Harvey Harrison <[email protected]> | 2012-06-27 10:14:33 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-06-27 10:14:33 -0700 |
commit | da70bd7cfe96338463a0ac0313547af1c5041153 (patch) | |
tree | 7d7f2c2431b3fa98368d1c3ee1ff3aaf419e565c /src/classes | |
parent | 0f48173f6669758fa640bacfa3949acaf2056bc0 (diff) |
j3dcore: final OrderedPath cleanup
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes')
-rw-r--r-- | src/classes/share/javax/media/j3d/OrderedPath.java | 2 | ||||
-rw-r--r-- | src/classes/share/javax/media/j3d/RenderBin.java | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/OrderedPath.java b/src/classes/share/javax/media/j3d/OrderedPath.java index 2322ae4..0b34d5f 100644 --- a/src/classes/share/javax/media/j3d/OrderedPath.java +++ b/src/classes/share/javax/media/j3d/OrderedPath.java @@ -28,7 +28,7 @@ package javax.media.j3d; import java.util.ArrayList; -class OrderedPath extends Object { +class OrderedPath { ArrayList<OrderedPathElement> pathElements = new ArrayList<OrderedPathElement>(1); void addElementToPath(OrderedGroupRetained og, Integer orderedId) { diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java index fb80571..44d3677 100644 --- a/src/classes/share/javax/media/j3d/RenderBin.java +++ b/src/classes/share/javax/media/j3d/RenderBin.java @@ -4449,7 +4449,6 @@ private void processOrderedGroupInserted(J3dMessage m) { ArrayList<OrderedBin> parentChildOrderedBins; OrderedBin parentOrderedBin; int parentOrderedChildId; - OrderedPathElement ope; // Since the table has been incremented, in response to OG addition, // but the ordered collecyions has not been added yet, we need to @@ -4467,7 +4466,7 @@ private void processOrderedGroupInserted(J3dMessage m) { parentOrderedChildId = -1; for (i=0; i<ga.source.orderedPath.pathElements.size(); i++) { - ope = (OrderedPathElement)ga.source.orderedPath.pathElements.get(i); + OrderedPathElement ope = ga.source.orderedPath.pathElements.get(i); og = ope.orderedGroup; oi = ope.childId.intValue(); |