stevel 2005/01/27 06:52:13
Modified: src/main/org/apache/tools/ant/taskdefs/optional/image
Image.java
Log:
bugzilla bug#30307 ; need a way of adding typedef'd image operations.
submitted by Christopher Lenz
Revision Changes Path
1.13 +11 -0
ant/src/main/org/apache/tools/ant/taskdefs/optional/image/Image.java
Index: Image.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/image/Image.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- Image.java 22 Nov 2004 09:23:33 -0000 1.12
+++ Image.java 27 Jan 2005 14:52:13 -0000 1.13
@@ -153,6 +153,17 @@
instructions.add(instr);
}
+
+ /**
+ * Adds an ImageOperation to chain.
+ * Adds an ImageOperation to the chain.
+ * @param instr The ImageOperation to append to the chain
+ * @since Ant 1.7
+ */
+ public void add(ImageOperation instr) {
+ addImageOperation(instr);
+ }
+
/**
* Executes all the chained ImageOperations on the file
* specified.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]