bodewig 2004/04/16 02:59:25
Modified: src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
XSLTProcess.java
Log:
merge
Revision Changes Path
No revision
No revision
1.78.2.7 +3 -5
ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java
Index: XSLTProcess.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java,v
retrieving revision 1.78.2.6
retrieving revision 1.78.2.7
diff -u -r1.78.2.6 -r1.78.2.7
--- XSLTProcess.java 16 Apr 2004 08:36:46 -0000 1.78.2.6
+++ XSLTProcess.java 16 Apr 2004 09:59:24 -0000 1.78.2.7
@@ -173,17 +173,15 @@
/**
* Defines the mapper to map source to destination files.
- * @return a mapper to be configured
* @exception BuildException if more than one mapper is defined
* @since Ant 1.6.2
*/
- public Mapper createMapper() throws BuildException {
+ public void addMapper(Mapper mapper) {
if (mapperElement != null) {
throw new BuildException("Cannot define more than one mapper",
getLocation());
}
- mapperElement = new Mapper(getProject());
- return mapperElement;
+ mapperElement = mapper;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]