avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-apps/simpleserver/src/java/org/apache/avalon/simpleserver SimpleServer.java
Date Sat, 18 May 2002 09:21:55 GMT
donaldp     02/05/18 02:21:55

  Modified:    simpleserver/src/java/org/apache/avalon/simpleserver
                        SimpleServer.java
  Log:
  Don't implement Block
  
  Revision  Changes    Path
  1.8       +3 -4      jakarta-avalon-apps/simpleserver/src/java/org/apache/avalon/simpleserver/SimpleServer.java
  
  Index: SimpleServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/simpleserver/src/java/org/apache/avalon/simpleserver/SimpleServer.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SimpleServer.java	14 May 2002 23:22:11 -0000	1.7
  +++ SimpleServer.java	18 May 2002 09:21:55 -0000	1.8
  @@ -45,7 +45,6 @@
   import org.apache.avalon.framework.service.ServiceException;
   import org.apache.avalon.framework.service.ServiceManager;
   import org.apache.avalon.framework.service.Serviceable;
  -import org.apache.avalon.phoenix.Block;
   import org.apache.avalon.phoenix.BlockContext;
   import org.apache.avalon.simpleserver.classes.ClassesTest;
   import org.apache.avalon.simpleserver.extension1.ExtensionTestClass1;
  @@ -65,7 +64,7 @@
    */
   public class SimpleServer
       extends AbstractLogEnabled
  -    implements Block, Contextualizable, Serviceable, Configurable, Initializable,
  +    implements Contextualizable, Serviceable, Configurable, Initializable,
       ConnectionHandlerFactory, ConnectionHandler, Target, PacketHandler, PacketHandlerFactory
   {
       private TimeScheduler m_timeScheduler;
  @@ -338,7 +337,7 @@
               m_out.println( "Dummy written, trying for read" );
               try
               {
  -                final Iterator it = m_repository.list();
  +                m_repository.list();
               }
               catch( Exception e )
               {
  @@ -388,7 +387,7 @@
   
               while( it.hasNext() )
               {
  -                Object ignore = it.next();
  +                it.next();
                   c = c + 1;
               }
   
  
  
  

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


Mime
View raw message