ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/file Copy.java
Date Sun, 30 Dec 2001 00:11:44 GMT
donaldp     01/12/29 16:11:44

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/file
                        Copy.java
  Log:
  made method to create filters protected so it can be used by Move subclass
  
  Removed all notion of setting log level as it is no longer used.
  
  Revision  Changes    Path
  1.9       +2 -25     jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/file/Copy.java
  
  Index: Copy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/file/Copy.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Copy.java	23 Dec 2001 14:22:45 -0000	1.8
  +++ Copy.java	30 Dec 2001 00:11:44 -0000	1.9
  @@ -55,7 +55,6 @@
       private boolean m_preserveLastModified;
       private boolean m_forceOverwrite;
       private boolean m_flatten;
  -    private int m_verbosity = Project.MSG_VERBOSE;
       private boolean m_includeEmpty = true;
   
       private Hashtable m_fileCopyMap = new Hashtable();
  @@ -149,23 +148,6 @@
       }
   
       /**
  -     * Used to force listing of all names of copied files.
  -     *
  -     * @param verbose The new Verbose value
  -     */
  -    public void setVerbose( final boolean verbose )
  -    {
  -        if( verbose )
  -        {
  -            m_verbosity = Project.MSG_INFO;
  -        }
  -        else
  -        {
  -            m_verbosity = Project.MSG_VERBOSE;
  -        }
  -    }
  -
  -    /**
        * Adds a set of files (nested fileset attribute).
        *
        * @param set The feature to be added to the Fileset attribute
  @@ -200,7 +182,7 @@
           {
               throw new TaskException( "Cannot define more than one mapper" );
           }
  -        m_mapperElement = new Mapper( getProject() );
  +        m_mapperElement = new Mapper();
           return m_mapperElement;
       }
   
  @@ -413,7 +395,7 @@
           }
       }
   
  -    private FilterSetCollection buildFilterSet()
  +    protected final FilterSetCollection buildFilterSet()
       {
           final FilterSetCollection executionFilters = new FilterSetCollection();
           if( m_filtering )
  @@ -548,11 +530,6 @@
       protected boolean isForceOverwrite()
       {
           return m_forceOverwrite;
  -    }
  -
  -    protected int getVerbosity()
  -    {
  -        return m_verbosity;
       }
   
       protected boolean isIncludeEmpty()
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message