ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject cvs commit: ant/src/testcases/org/apache/tools/ant/util ReferencesTest.java
Date Mon, 28 Mar 2005 22:42:09 GMT
jglick      2005/03/28 14:42:09

  Modified:    src/main/org/apache/tools/ant/util WeakishReference.java
               src/main/org/apache/tools/ant/util/optional
                        WeakishReference12.java
  Removed:     src/testcases/org/apache/tools/ant/util ReferencesTest.java
  Log:
  #32463: deprecate WeakishReference since we can assume JDK 1.2 APIs now.
  
  Revision  Changes    Path
  1.19      +2 -1      ant/src/main/org/apache/tools/ant/util/WeakishReference.java
  
  Index: WeakishReference.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/WeakishReference.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- WeakishReference.java	21 Jan 2005 17:29:46 -0000	1.18
  +++ WeakishReference.java	28 Mar 2005 22:42:09 -0000	1.19
  @@ -23,6 +23,7 @@
    * This is a weak reference on java1.2 and up, that is all
    * platforms Ant1.6 supports.
    * @since ant1.6
  + * @deprecated Just use {@link java.lang.ref.WeakReference} directly.
    */
   public abstract class WeakishReference  {
   
  @@ -46,7 +47,7 @@
   
       /**
        * A hard reference for Java 1.1.
  -     * Hopefully nobody is using this.
  +     * @deprecated Hopefully nobody is using this.
        */
       public static class HardReference extends WeakishReference {
           private Object object;
  
  
  
  1.9       +1 -1      ant/src/main/org/apache/tools/ant/util/optional/WeakishReference12.java
  
  Index: WeakishReference12.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/optional/WeakishReference12.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- WeakishReference12.java	9 Mar 2004 16:48:54 -0000	1.8
  +++ WeakishReference12.java	28 Mar 2005 22:42:09 -0000	1.9
  @@ -24,7 +24,7 @@
   /**
    * This is a reference that really is is Weak, as it uses the
    * appropriate java.lang.ref class.
  - *
  + * @deprecated Just use {@link WeakReference} directly.
    */
   public class WeakishReference12 extends WeakishReference  {
   
  
  
  

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


Mime
View raw message