avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-excalibur/pool/impl/src/test/org/apache/avalon/excalibur/pool/test BufferedLogger.java
Date Sun, 14 Mar 2004 18:19:48 GMT
mcconnell    2004/03/14 10:19:48

  Modified:    pool/impl/src/java/org/apache/avalon/excalibur/pool
                        DefaultPool.java SingleThreadedPool.java
               pool/impl/src/test/org/apache/avalon/excalibur/pool/test
                        BufferedLogger.java
  Log:
  Removal of deprecated references.
  
  Revision  Changes    Path
  1.2       +2 -2      avalon-excalibur/pool/impl/src/java/org/apache/avalon/excalibur/pool/DefaultPool.java
  
  Index: DefaultPool.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/pool/impl/src/java/org/apache/avalon/excalibur/pool/DefaultPool.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultPool.java	14 Mar 2004 18:01:43 -0000	1.1
  +++ DefaultPool.java	14 Mar 2004 18:19:48 -0000	1.2
  @@ -138,7 +138,7 @@
                       else
                       {
                           final String message =
  -                            "Could not create enough Components to service " +
  +                            "Could not create enough components to service " +
                               "your request.";
                           throw new Exception( message );
                       }
  
  
  
  1.2       +2 -13     avalon-excalibur/pool/impl/src/java/org/apache/avalon/excalibur/pool/SingleThreadedPool.java
  
  Index: SingleThreadedPool.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/pool/impl/src/java/org/apache/avalon/excalibur/pool/SingleThreadedPool.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SingleThreadedPool.java	14 Mar 2004 18:01:43 -0000	1.1
  +++ SingleThreadedPool.java	14 Mar 2004 18:19:48 -0000	1.2
  @@ -171,21 +171,10 @@
        * Get the number of used slots in Pool
        *
        * @return the number of used slots
  -     * @deprecated use the official size() method instead
  -     */
  -    public final int getSize()
  -    {
  -        return m_count;
  -    }
  -
  -    /**
  -     * Get the number of used slots in Pool
  -     *
  -     * @return the number of used slots
        */
       public final int size()
       {
  -        return getSize();
  +        return m_count;
       }
   
       /**
  
  
  
  1.2       +1 -3      avalon-excalibur/pool/impl/src/test/org/apache/avalon/excalibur/pool/test/BufferedLogger.java
  
  Index: BufferedLogger.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/pool/impl/src/test/org/apache/avalon/excalibur/pool/test/BufferedLogger.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BufferedLogger.java	14 Mar 2004 18:01:43 -0000	1.1
  +++ BufferedLogger.java	14 Mar 2004 18:19:48 -0000	1.2
  @@ -24,8 +24,6 @@
    *  When logging is complete call toString() on the logger to obtain the
    *  logged output.  Useful for testing.
    *
  - * @deprecated ECM is no longer supported
  - *
    * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
    * @version CVS $Revision$ $Date$
    * @since 4.0
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message