diff options
author | Harvey Harrison <[email protected]> | 2012-06-27 10:11:46 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-06-27 10:11:46 -0700 |
commit | 0f48173f6669758fa640bacfa3949acaf2056bc0 (patch) | |
tree | ce6f6f7dda499dae4c5728fbca6d543b66c9b729 /src | |
parent | 09833f3d98cb157ea3bf1ae3a6e53f372e65239f (diff) |
j3dcore: stylistic cleanup in OrderedPath
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/javax/media/j3d/OrderedPath.java | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/classes/share/javax/media/j3d/OrderedPath.java b/src/classes/share/javax/media/j3d/OrderedPath.java index 804aa81..2322ae4 100644 --- a/src/classes/share/javax/media/j3d/OrderedPath.java +++ b/src/classes/share/javax/media/j3d/OrderedPath.java @@ -31,10 +31,9 @@ import java.util.ArrayList; class OrderedPath extends Object { ArrayList<OrderedPathElement> pathElements = new ArrayList<OrderedPathElement>(1); - - void addElementToPath(OrderedGroupRetained og, Integer orderedId) { - pathElements.add(new OrderedPathElement(og, orderedId)); - } +void addElementToPath(OrderedGroupRetained og, Integer orderedId) { + pathElements.add(new OrderedPathElement(og, orderedId)); +} OrderedPath clonePath() { OrderedPath path = new OrderedPath(); @@ -42,12 +41,12 @@ OrderedPath clonePath() { return path; } - void printPath() { - System.err.println("orderedPath: ["); - for (int i=0; i<pathElements.size(); i++) { - OrderedPathElement ope = pathElements.get(i); - System.err.println("(" + ope.orderedGroup + "," + ope.childId); - } - System.err.println("]"); - } +void printPath() { + System.err.println("orderedPath: ["); + for (int i = 0; i < pathElements.size(); i++) { + OrderedPathElement ope = pathElements.get(i); + System.err.println("(" + ope.orderedGroup + "," + ope.childId); + } + System.err.println("]"); +} } |