cvs commit: ant/src/main/org/apache/tools/ant/util ContainerMapper.java

2005-04-12 Thread jkf
jkf 2005/04/12 10:49:37

  Modified:src/main/org/apache/tools/ant/util ContainerMapper.java
  Log:
  Obtained from: Kev Jackson
  
  Javadoc in ContainerMapper to contain lowercase code instead of uppercase 
code.
  
  Revision  ChangesPath
  1.6   +13 -11
ant/src/main/org/apache/tools/ant/util/ContainerMapper.java
  
  Index: ContainerMapper.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/util/ContainerMapper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ContainerMapper.java  24 Jan 2005 18:13:20 -  1.5
  +++ ContainerMapper.java  12 Apr 2005 17:49:37 -  1.6
  @@ -25,7 +25,7 @@
   
   /**
* A FileNameMapper that contains
  - * other FileNameMappers.
  + * other FileNameMappers.
* @see FileNameMapper
*/
   public abstract class ContainerMapper implements FileNameMapper {
  @@ -42,11 +42,11 @@
   
   /**
* Add a FileNameMapper.
  - * @param fileNameMapper a FileNameMapper.
  + * @param fileNameMapper a FileNameMapper.
* @throws IllegalArgumentException if attempting to add this
  - * ContainerMapper to itself, or if the specified
  - * FileNameMapper is itself a 
ContainerMapper
  - * that contains this ContainerMapper.
  + * ContainerMapper to itself, or if the specified
  + * FileNameMapper is itself a 
ContainerMapper
  + * that contains this ContainerMapper.
*/
   public synchronized void add(FileNameMapper fileNameMapper) {
   if (this == fileNameMapper
  @@ -60,10 +60,10 @@
   }
   
   /**
  - * Return true if this ContainerMapper or any 
of
  - * its sub-elements contains the specified FileNameMapper.
  - * @param fileNameMapper   the FileNameMapper to search for.
  - * @return boolean.
  + * Return true if this ContainerMapper or any 
of
  + * its sub-elements contains the specified FileNameMapper.
  + * @param fileNameMapper   the FileNameMapper to search for.
  + * @return boolean.
*/
   protected synchronized boolean contains(FileNameMapper fileNameMapper) {
   boolean foundit = false;
  @@ -77,8 +77,8 @@
   }
   
   /**
  - * Get the List of FileNameMappers.
  - * @return List.
  + * Get the List of FileNameMappers.
  + * @return List.
*/
   public synchronized List getMappers() {
   return Collections.unmodifiableList(mappers);
  @@ -89,6 +89,7 @@
* @param ignore ignored.
*/
   public void setFrom(String ignore) {
  +//Empty
   }
   
   /**
  @@ -96,6 +97,7 @@
* @param ignore ignored.
*/
   public void setTo(String ignore) {
  +//Empty
   }
   
   }
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/src/main/org/apache/tools/ant/util ContainerMapper.java

2004-03-15 Thread peterreilly
peterreilly2004/03/15 09:26:34

  Modified:src/main/org/apache/tools/ant/util ContainerMapper.java
  Log:
  stylecheck
  
  Revision  ChangesPath
  1.2   +1 -2  
ant/src/main/org/apache/tools/ant/util/ContainerMapper.java
  
  Index: ContainerMapper.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/util/ContainerMapper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ContainerMapper.java  11 Mar 2004 19:25:48 -  1.1
  +++ ContainerMapper.java  15 Mar 2004 17:26:34 -  1.2
  @@ -21,7 +21,6 @@
   import java.util.Iterator;
   import java.util.List;
   import org.apache.tools.ant.types.Mapper;
  -import org.apache.tools.ant.util.FileNameMapper;
   
   /**
* A filenamemapper that contains other filename mappers.
  @@ -50,7 +49,7 @@
   public void addConfiguredMapper(Mapper mapper) {
   mappers.add(mapper.getImplementation());
   }
  -
  +
   /**
* Set the chained attribute.
*
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]