Browse Source

type is more appropriate than name in this case.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271525 13f79535-47bb-0310-9956-ffa450edef68
master
Magesh Umasankar 23 years ago
parent
commit
79b4ed70c6
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters/StripLineComments.java

+ 6
- 6
proposal/sandbox/filterreaders/src/main/org/apache/tools/ant/filters/StripLineComments.java View File

@@ -15,11 +15,11 @@ import org.apache.tools.ant.types.Parameterizable;
* ======= * =======
* *
* <filterreader classname="org.apache.tools.ant.filters.StripLineComments"> * <filterreader classname="org.apache.tools.ant.filters.StripLineComments">
* <param name="comment" value="#"/>
* <param name="comment" value="--"/>
* <param name="comment" value="REM "/>
* <param name="comment" value="rem "/>
* <param name="comment" value="//"/>
* <param type="comment" value="#"/>
* <param type="comment" value="--"/>
* <param type="comment" value="REM "/>
* <param type="comment" value="rem "/>
* <param type="comment" value="//"/>
* </filterreader> * </filterreader>
* *
* @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a> * @author <a href="mailto:umagesh@apache.org">Magesh Umasankar</a>
@@ -126,7 +126,7 @@ public final class StripLineComments
private final void initialize() { private final void initialize() {
if (parameters != null) { if (parameters != null) {
for (int i = 0; i < parameters.length; i++) { for (int i = 0; i < parameters.length; i++) {
if (COMMENTS_KEY.equals(parameters[i].getName())) {
if (COMMENTS_KEY.equals(parameters[i].getType())) {
comments.addElement(parameters[i].getValue()); comments.addElement(parameters[i].getValue());
} }
} }


Loading…
Cancel
Save