You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2006/04/20 23:39:34 UTC
svn commit: r395705 -
/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
Author: antoine
Date: Thu Apr 20 14:39:32 2006
New Revision: 395705
URL: http://svn.apache.org/viewcvs?rev=395705&view=rev
Log:
Fix javadoc, remove a call to deprecated FileUtils.newUtils()
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java?rev=395705&r1=395704&r2=395705&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java Thu Apr 20 14:39:32 2006
@@ -175,7 +175,9 @@
* @param is the stream containing the stylesheet data.
* @param infile the file that will be used for the systemid.
* @return the configured source instance matching the stylesheet.
- * @throws Exception if there is a problem creating the source.
+ * @throws ParserConfigurationException if a parser cannot be created which
+ * satisfies the requested configuration.
+ * @throws SAXException in case of problem detected by the SAX parser.
*/
private Source getSource(InputStream is, File infile)
throws ParserConfigurationException, SAXException {
@@ -230,7 +232,6 @@
/**
* Create a new transformer based on the liaison settings
- * @return the newly created and configured transformer.
* @throws Exception thrown if there is an error during creation.
* @see #setStylesheet(java.io.File)
* @see #addParam(java.lang.String, java.lang.String)
@@ -403,7 +404,7 @@
if (systemid != null) {
String url = systemid;
if (url.startsWith("file:")) {
- url = FileUtils.newFileUtils().fromURI(url);
+ url = FileUtils.getFileUtils().fromURI(url);
}
msg.append(url);
} else {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org