[Patchanim-commit] SF.net SVN: patchanim:[294] trunk/patchanim/src/com/mebigfatguy/patchanim/ io/Pa
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-11-26 03:20:41
|
Revision: 294
http://patchanim.svn.sourceforge.net/patchanim/?rev=294&view=rev
Author: dbrosius
Date: 2009-11-26 03:20:31 +0000 (Thu, 26 Nov 2009)
Log Message:
-----------
warnings
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 2009-09-05 21:50:23 UTC (rev 293)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchAnimExtension.java 2009-11-26 03:20:31 UTC (rev 294)
@@ -47,7 +47,7 @@
d = db.newDocument();
}
- public String getVersion(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getVersion(ExpressionContext context) {
BufferedReader br = null;
try {
br = new BufferedReader(new InputStreamReader(PatchAnimExtension.class.getResourceAsStream(VERSION_URL)));
@@ -59,39 +59,39 @@
}
}
- public String getOrder(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getOrder(ExpressionContext context) {
return String.valueOf(paDoc.getOrder());
}
- public String getWidth(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getWidth(ExpressionContext context) {
return String.valueOf(paDoc.getWidth());
}
- public String getHeight(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getHeight(ExpressionContext context) {
return String.valueOf(paDoc.getHeight());
}
- public String getAnimationType(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getAnimationType(ExpressionContext context) {
return paDoc.getAnimationType().name();
}
- public String getOutOfBoundsColor(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getOutOfBoundsColor(ExpressionContext context) {
return paDoc.getOutOfBoundsColor().name();
}
- public String getTweenCount(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getTweenCount(ExpressionContext context) {
return String.valueOf(paDoc.getTweenCount());
}
- public String getTweenStyle(@SuppressWarnings("unused") ExpressionContext context) {
+ public String getTweenStyle(ExpressionContext context) {
return String.valueOf(paDoc.getTweenStyle());
}
- public String useAlpha(@SuppressWarnings("unused") ExpressionContext context) {
+ public String useAlpha(ExpressionContext context) {
return String.valueOf(paDoc.useAlpha());
}
- public NodeList getPatches(@SuppressWarnings("unused") ExpressionContext context) {
+ public NodeList getPatches(ExpressionContext context) {
return new NodeList() {
public int getLength() {
@@ -104,12 +104,12 @@
};
}
- public String getPatchName(@SuppressWarnings("unused") ExpressionContext context, Node patchIndexNode) {
+ public String getPatchName(ExpressionContext context, Node patchIndexNode) {
int patchIndex = Integer.parseInt(patchIndexNode.getNodeValue());
return paDoc.getPatches().get(patchIndex).getName();
}
- public NodeList getCoordinates(@SuppressWarnings("unused") ExpressionContext context) {
+ public NodeList getCoordinates(ExpressionContext context) {
return new NodeList() {
public int getLength() {
@@ -123,15 +123,15 @@
};
}
- public String getX(@SuppressWarnings("unused") ExpressionContext context, String color, Node patchIndexNode, Node coordIndexNode) {
+ public String getX(ExpressionContext context, String color, Node patchIndexNode, Node coordIndexNode) {
return String.valueOf(getCoordinate(color, patchIndexNode, coordIndexNode).getX());
}
- public String getY(@SuppressWarnings("unused") ExpressionContext context, String color, Node patchIndexNode, Node coordIndexNode) {
+ public String getY(ExpressionContext context, String color, Node patchIndexNode, Node coordIndexNode) {
return String.valueOf(getCoordinate(color, patchIndexNode, coordIndexNode).getY());
}
- public String getColor(@SuppressWarnings("unused") ExpressionContext context, String color, Node patchIndexNode, Node coordIndexNode) {
+ public String getColor(ExpressionContext context, String color, Node patchIndexNode, Node coordIndexNode) {
return String.valueOf(getCoordinate(color, patchIndexNode, coordIndexNode).getColor());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|