ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: svn commit: r396462 - /ant/core/trunk/src/main/org/apache/tools/ant/types/ArchiveFileSet.java
Date Mon, 24 Apr 2006 15:34:14 GMT
Careful about these Martijn.  I could be wrong, but I
think these "new in 1.7" methods could be backports
from ZipFileSet, which would actually make them older
and newly deprecated.

br,
Matt

--- jkf@apache.org wrote:

> Author: jkf
> Date: Mon Apr 24 00:02:35 2006
> New Revision: 396462
> 
> URL:
> http://svn.apache.org/viewcvs?rev=396462&view=rev
> Log:
> Remove of new in ant 1.7 and deprecated in ant 1.7
> methods.
> 
> Modified:
>    
>
ant/core/trunk/src/main/org/apache/tools/ant/types/ArchiveFileSet.java
> 
> Modified:
>
ant/core/trunk/src/main/org/apache/tools/ant/types/ArchiveFileSet.java
> URL:
>
http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/types/ArchiveFileSet.java?rev=396462&r1=396461&r2=396462&view=diff
>
==============================================================================
> ---
>
ant/core/trunk/src/main/org/apache/tools/ant/types/ArchiveFileSet.java
> (original)
> +++
>
ant/core/trunk/src/main/org/apache/tools/ant/types/ArchiveFileSet.java
> Mon Apr 24 00:02:35 2006
> @@ -1,5 +1,5 @@
>  /*
> - * Copyright  2005 The Apache Software Foundation
> + * Copyright  2005-2006 The Apache Software
> Foundation
>   *
>   *  Licensed under the Apache License, Version 2.0
> (the "License");
>   *  you may not use this file except in compliance
> with the License.
> @@ -190,14 +190,6 @@
>          }
>          return prefix;
>      }
> -
> -    /**
> -     * Return the prefix prepended to entries in
> the archive file.
> -     * @deprecated
> -     */
> -    public String getPrefix() {
> -        return prefix;
> -    }
>      
>      /**
>       * Set the full pathname of the single entry in
> this fileset.
> @@ -225,14 +217,6 @@
>      }
>      
>      /**
> -     * Return the full pathname of the single entry
> in this fileset.
> -     * @deprecated
> -     */
> -    public String getFullpath() {
> -        return fullpath;
> -    }
> -
> -    /**
>       * Creates a scanner for this type of archive.
>       */
>      protected abstract ArchiveScanner
> newArchiveScanner();
> @@ -345,14 +329,6 @@
>          }
>          return fileMode;
>      }
> -    
> -    /**
> -     * @deprecated
> -     */
> -    public int getFileMode() {
> -        return fileMode;
> -    }
> -
>  
>      /**
>       * Whether the user has specified the mode
> explicitly.
> @@ -398,13 +374,6 @@
>          if (isReference()) {
>              return ((ArchiveFileSet)
> getRef(p)).getDirMode(p);
>          }
> -        return dirMode;
> -    }
> -    
> -    /**
> -     * @deprecated
> -     */
> -    public int getDirMode() {
>          return dirMode;
>      }
>  
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message