From 55640a285af79958234adac466313a94efe44e8b Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 6 Feb 2003 14:20:38 +0000 Subject: [PATCH] Adapt some @since tags after merge to 1.5 branch git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274007 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/style.html | 2 +- .../org/apache/tools/ant/taskdefs/XSLTProcess.java | 11 ++++++----- .../tools/ant/taskdefs/optional/TraXLiaison.java | 5 +++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/manual/CoreTasks/style.html b/docs/manual/CoreTasks/style.html index 4ec5e5be3..37a67ee7d 100644 --- a/docs/manual/CoreTasks/style.html +++ b/docs/manual/CoreTasks/style.html @@ -156,7 +156,7 @@ element which is used to perform Entity and URI resolution

Control whether the stylesheet transformer is created anew for every transform opertaion. If you set this to true, performance may suffer, but you may work around a bug in certain Xalan-J versions. - Default is false. Since Ant 1.6. + Default is false. Since Ant 1.5.2. No diff --git a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java index c215a01d4..a700fb3b8 100644 --- a/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java +++ b/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java @@ -113,8 +113,9 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { /** Classpath to use when trying to load the XSL processor */ private Path classpath = null; - - /** implementation to use to communicate with the XSL processor */ + + /** The Liason implementation to use to communicate with the XSL + * processor */ private XSLTLiaison liaison; /** Flag which indicates if the stylesheet has been loaded into @@ -147,6 +148,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { /** * Whether to style all files in the included directories as well. + * * @since Ant 1.5 */ private boolean performDirectoryScan = true; @@ -159,7 +161,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { /** * whether to reuse Transformer if transforming multiple files. - * @since 1.6 + * @since 1.5.2 */ private boolean reuseLoadedStylesheet = true; @@ -187,7 +189,7 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { *

Setting this to true may get around a bug in certain * Xalan-J versions, default is false.

* - * @since Ant 1.6 + * @since Ant 1.5.2 */ public void setReloadStylesheet(boolean b) { reuseLoadedStylesheet = !b; @@ -715,7 +717,6 @@ public class XSLTProcess extends MatchingTask implements XSLTLogger { } } - /** * Initialize internal instance of XMLCatalog */ diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java b/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java index ac9a0d77e..48b0591a7 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java @@ -117,7 +117,7 @@ public class TraXLiaison implements XSLTLiaison, ErrorListener, XSLTLoggerAware /** The In memory version of the stylesheet */ private Templates templates; - + /** * The modification time of the stylesheet from which the templates * are read @@ -284,7 +284,7 @@ public class TraXLiaison implements XSLTLiaison, ErrorListener, XSLTLoggerAware * @throws BuildException thrown if there is a problem creating * the factory. * @see #setFactory(String) - * @since Ant 1.6 + * @since Ant 1.5.2 */ private TransformerFactory getFactory() throws BuildException { if (tfactory != null) { @@ -345,6 +345,7 @@ public class TraXLiaison implements XSLTLiaison, ErrorListener, XSLTLoggerAware * @param name the output property name. * @param value the output property value. * @since Ant 1.5 + * @since Ant 1.5 */ public void setOutputProperty(String name, String value) { final String[] pair = new String[]{name, value};