summaryrefslogtreecommitdiff
path: root/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
diff options
context:
space:
mode:
authorJan Materne <jhm@apache.org>2014-04-10 10:24:18 +0000
committerJan Materne <jhm@apache.org>2014-04-10 10:24:18 +0000
commitbed22b00f729da46ea6ed768d5f30014d919bcc6 (patch)
tree89abaa826e2cbb8b856317cb80307caca80f24c3 /src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
parent7d0916e46f34a51245a46ecc1d4a46c232395781 (diff)
downloadant-bed22b00f729da46ea6ed768d5f30014d919bcc6.tar.gz
JavaDoc fixes (for Java8 doclint) - first bunch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1586262 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java')
-rw-r--r--src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java b/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
index 0718d14b7..e8c38091d 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/ReplaceRegExp.java
@@ -212,11 +212,13 @@ public class ReplaceRegExp extends Task {
* on one line at a time. This is useful if you
* want to only replace the first occurrence of a regular expression on
* each line, which is not easy to do when processing the file as a whole.
- * Defaults to <i>false</i>.</td>
+ * Defaults to <i>false</i>.
+ *
* @param byline the byline attribute as a string
* @deprecated since 1.6.x.
* Use setByLine(boolean).
*/
+ @Deprecated
public void setByLine(String byline) {
Boolean res = Boolean.valueOf(byline);
@@ -231,14 +233,14 @@ public class ReplaceRegExp extends Task {
* on one line at a time. This is useful if you
* want to only replace the first occurrence of a regular expression on
* each line, which is not easy to do when processing the file as a whole.
- * Defaults to <i>false</i>.</td>
+ * Defaults to <i>false</i>.
+ *
* @param byline the byline attribute
*/
public void setByLine(boolean byline) {
this.byline = byline;
}
-
/**
* Specifies the encoding Ant expects the files to be in -
* defaults to the platforms default encoding.