Revision: 204
http://patchanim.svn.sourceforge.net/patchanim/?rev=204&view=rev
Author: dbrosius
Date: 2008-02-17 20:00:10 -0800 (Sun, 17 Feb 2008)
Log Message:
-----------
simplify
Modified Paths:
--------------
trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java 2008-02-18 03:58:59 UTC (rev 203)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java 2008-02-18 04:00:10 UTC (rev 204)
@@ -84,7 +84,7 @@
}
public NodeList getPatches(@SuppressWarnings("unused") ExpressionContext context) {
- NodeList nl = new NodeList() {
+ return new NodeList() {
public int getLength() {
return paDoc.getPatches().size();
@@ -94,8 +94,6 @@
return d.createTextNode(String.valueOf(index));
}
};
-
- return nl;
}
public String getPatchName(@SuppressWarnings("unused") ExpressionContext context, Node patchIndexNode) {
@@ -104,7 +102,7 @@
}
public NodeList getCoordinates(@SuppressWarnings("unused") ExpressionContext context) {
- NodeList nl = new NodeList() {
+ return new NodeList() {
public int getLength() {
int order = paDoc.getOrder();
@@ -115,8 +113,6 @@
return d.createTextNode(String.valueOf(index));
}
};
-
- return nl;
}
public String getX(@SuppressWarnings("unused") ExpressionContext context, String color, Node patchIndexNode, Node coordIndexNode) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|