donaldp     02/02/19 05:01:23

  Modified:    src/main/org/apache/tools/ant/taskdefs Zip.java
  Log:
  Remove excessive deprecation warnings.
  
  Revision  Changes    Path
  1.64      +0 -14     
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java
  
  Index: Zip.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Zip.java,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- Zip.java  19 Feb 2002 09:03:27 -0000      1.63
  +++ Zip.java  19 Feb 2002 13:01:23 -0000      1.64
  @@ -133,25 +133,11 @@
        * This is the name/location of where to
        * create the .zip file.
        * @since 1.5alpha
  -     * @todo pull this before shipping 1.5
        * @deprecated Use setDestFile(File) instead
        */
       public void setFile(File file) {
           log("DEPRECATED - The file attribute has been renamed destfile.",
               Project.MSG_ERR);
  -        log("This attribute will be unsupported before Ant1.5 is released.",
  -            Project.MSG_ERR);
  -
  -        log("Be aware that the effect of using the file attribute depends 
on",
  -            Project.MSG_WARN);
  -        log("the phase of the moon.", Project.MSG_WARN);
  -        int phase = DateUtils.getPhaseOfMoon(Calendar.getInstance());
  -        if (phase == 4) {
  -            log("You are lucky!  Full moon tonight.");
  -        } else if (phase == 0) {
  -            log("Be careful!  New moon tonight.", Project.MSG_WARN);
  -        }
  -        
           setDestFile(file);
       }
   
  
  
  

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

Reply via email to