Browse Source

Obtained from: Kev Jackson

Javadoc in ContainerMapper to contain lowercase code instead of uppercase code.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278133 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 20 years ago
parent
commit
2e7282679d
1 changed files with 13 additions and 11 deletions
  1. +13
    -11
      src/main/org/apache/tools/ant/util/ContainerMapper.java

+ 13
- 11
src/main/org/apache/tools/ant/util/ContainerMapper.java View File

@@ -25,7 +25,7 @@ import org.apache.tools.ant.types.Mapper;


/** /**
* A <code>FileNameMapper</code> that contains * A <code>FileNameMapper</code> that contains
* other <CODE>FileNameMapper</CODE>s.
* other <code>FileNameMapper</code>s.
* @see FileNameMapper * @see FileNameMapper
*/ */
public abstract class ContainerMapper implements FileNameMapper { public abstract class ContainerMapper implements FileNameMapper {
@@ -42,11 +42,11 @@ public abstract class ContainerMapper implements FileNameMapper {


/** /**
* Add a <code>FileNameMapper</code>. * Add a <code>FileNameMapper</code>.
* @param fileNameMapper a <CODE>FileNameMapper</CODE>.
* @param fileNameMapper a <code>FileNameMapper</code>.
* @throws IllegalArgumentException if attempting to add this * @throws IllegalArgumentException if attempting to add this
* <CODE>ContainerMapper</CODE> to itself, or if the specified
* <CODE>FileNameMapper</CODE> is itself a <CODE>ContainerMapper</CODE>
* that contains this <CODE>ContainerMapper</CODE>.
* <code>ContainerMapper</code> to itself, or if the specified
* <code>FileNameMapper</code> is itself a <code>ContainerMapper</code>
* that contains this <code>ContainerMapper</code>.
*/ */
public synchronized void add(FileNameMapper fileNameMapper) { public synchronized void add(FileNameMapper fileNameMapper) {
if (this == fileNameMapper if (this == fileNameMapper
@@ -60,10 +60,10 @@ public abstract class ContainerMapper implements FileNameMapper {
} }


/** /**
* Return <CODE>true</CODE> if this <CODE>ContainerMapper</CODE> or any of
* its sub-elements contains the specified <CODE>FileNameMapper</CODE>.
* @param fileNameMapper the <CODE>FileNameMapper</CODE> to search for.
* @return <CODE>boolean</CODE>.
* Return <code>true</code> if this <code>ContainerMapper</code> or any of
* its sub-elements contains the specified <code>FileNameMapper</code>.
* @param fileNameMapper the <code>FileNameMapper</code> to search for.
* @return <code>boolean</code>.
*/ */
protected synchronized boolean contains(FileNameMapper fileNameMapper) { protected synchronized boolean contains(FileNameMapper fileNameMapper) {
boolean foundit = false; boolean foundit = false;
@@ -77,8 +77,8 @@ public abstract class ContainerMapper implements FileNameMapper {
} }


/** /**
* Get the <CODE>List</CODE> of <CODE>FileNameMapper</CODE>s.
* @return <CODE>List</CODE>.
* Get the <code>List</code> of <code>FileNameMapper</code>s.
* @return <code>List</code>.
*/ */
public synchronized List getMappers() { public synchronized List getMappers() {
return Collections.unmodifiableList(mappers); return Collections.unmodifiableList(mappers);
@@ -89,6 +89,7 @@ public abstract class ContainerMapper implements FileNameMapper {
* @param ignore ignored. * @param ignore ignored.
*/ */
public void setFrom(String ignore) { public void setFrom(String ignore) {
//Empty
} }


/** /**
@@ -96,6 +97,7 @@ public abstract class ContainerMapper implements FileNameMapper {
* @param ignore ignored. * @param ignore ignored.
*/ */
public void setTo(String ignore) { public void setTo(String ignore) {
//Empty
} }


} }


Loading…
Cancel
Save