incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: incubator-altrmi/src/test/org/apache/altrmi/test MemoryLeakClientTest.java ProConClientTest.java
Date Sun, 25 May 2003 16:49:55 GMT
hammant     2003/05/25 09:49:55

  Modified:    src/java/org/apache/altrmi/blocks/subscription
                        AbstractSubscriber.java
               src/java/org/apache/altrmi/client/impl
                        ClientSideClassFactory.java
                        ServerSideClassFactory.java
               src/java/org/apache/altrmi/client/impl/subscriber
                        AbstractInterfaceLookupFactory.java
               src/test/org/apache/altrmi/test MemoryLeakClientTest.java
                        ProConClientTest.java
  Log:
  Remove deprecated constructor
  
  Revision  Changes    Path
  1.3       +3 -3      incubator-altrmi/src/java/org/apache/altrmi/blocks/subscription/AbstractSubscriber.java
  
  Index: AbstractSubscriber.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/java/org/apache/altrmi/blocks/subscription/AbstractSubscriber.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AbstractSubscriber.java	17 Feb 2003 20:27:39 -0000	1.2
  +++ AbstractSubscriber.java	25 May 2003 16:49:55 -0000	1.3
  @@ -94,11 +94,11 @@
   
           if( proxyClassLocation.equals( "client" ) )
           {
  -            m_altrmiFactory = new ClientSideClassFactory( false );
  +            m_altrmiFactory = new ClientSideClassFactory();
           }
           else if( proxyClassLocation.equals( "server" ) )
           {
  -            m_altrmiFactory = new ServerSideClassFactory( false );
  +            m_altrmiFactory = new ServerSideClassFactory();
           }
           else
           {
  
  
  
  1.3       +1 -18     incubator-altrmi/src/java/org/apache/altrmi/client/impl/ClientSideClassFactory.java
  
  Index: ClientSideClassFactory.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/java/org/apache/altrmi/client/impl/ClientSideClassFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClientSideClassFactory.java	17 Feb 2003 20:27:40 -0000	1.2
  +++ ClientSideClassFactory.java	25 May 2003 16:49:55 -0000	1.3
  @@ -68,23 +68,6 @@
   public class ClientSideClassFactory extends AbstractFactory
   {
   
  -    /**
  -     * Constructor ClientSideClassFactory
  -     *
  -     *
  -     * @param unused
  -     * @deprecated
  -     *
  -     */
  -    public ClientSideClassFactory( boolean unused )
  -    {
  -        // unused.
  -    }
  -
  -    public ClientSideClassFactory()
  -    {
  -    }
  -
       protected Class getFacadeClass(
           String publishedServiceName, String objectName)
           throws ConnectionException, ClassNotFoundException
  
  
  
  1.4       +1 -18     incubator-altrmi/src/java/org/apache/altrmi/client/impl/ServerSideClassFactory.java
  
  Index: ServerSideClassFactory.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/java/org/apache/altrmi/client/impl/ServerSideClassFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServerSideClassFactory.java	20 Feb 2003 07:36:57 -0000	1.3
  +++ ServerSideClassFactory.java	25 May 2003 16:49:55 -0000	1.4
  @@ -78,23 +78,6 @@
   
       private HashMap m_publishedServiceClassLoaders = new HashMap();
   
  -    /**
  -     * Constructor ServerSideClassFactory
  -     *
  -     *
  -     * @param unused
  -     * @deprecated
  -     *
  -     */
  -    public ServerSideClassFactory( boolean unused )
  -    {
  -        // boolean not used now.
  -    }
  -
  -    public ServerSideClassFactory()
  -    {
  -    }
  -
       protected Class getFacadeClass(
           String publishedServiceName, String objectName)
           throws ConnectionException, ClassNotFoundException
  
  
  
  1.3       +2 -2      incubator-altrmi/src/java/org/apache/altrmi/client/impl/subscriber/AbstractInterfaceLookupFactory.java
  
  Index: AbstractInterfaceLookupFactory.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/java/org/apache/altrmi/client/impl/subscriber/AbstractInterfaceLookupFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AbstractInterfaceLookupFactory.java	17 Feb 2003 20:28:06 -0000	1.2
  +++ AbstractInterfaceLookupFactory.java	25 May 2003 16:49:55 -0000	1.3
  @@ -104,11 +104,11 @@
       {
           if( this.m_isServer )
           {
  -            return new ServerSideClassFactory( false );
  +            return new ServerSideClassFactory();
           }
           else
           {
  -            return new ClientSideClassFactory( false );
  +            return new ClientSideClassFactory();
           }
       }
   
  
  
  
  1.3       +2 -2      incubator-altrmi/src/test/org/apache/altrmi/test/MemoryLeakClientTest.java
  
  Index: MemoryLeakClientTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/test/org/apache/altrmi/test/MemoryLeakClientTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MemoryLeakClientTest.java	17 Feb 2003 20:29:25 -0000	1.2
  +++ MemoryLeakClientTest.java	25 May 2003 16:49:55 -0000	1.3
  @@ -122,7 +122,7 @@
   
           System.out.println( "Memory Leak Client" );
   
  -        Factory af = new ClientSideClassFactory( false );
  +        Factory af = new ClientSideClassFactory();
   
           af.setHostContext( new SocketCustomStreamHostContext( "127.0.0.1", 1277 ) );
   
  
  
  
  1.3       +2 -2      incubator-altrmi/src/test/org/apache/altrmi/test/ProConClientTest.java
  
  Index: ProConClientTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/test/org/apache/altrmi/test/ProConClientTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ProConClientTest.java	17 Feb 2003 20:29:25 -0000	1.2
  +++ ProConClientTest.java	25 May 2003 16:49:55 -0000	1.3
  @@ -110,11 +110,11 @@
   
           if( args[ 0 ].equals( "S" ) )
           {
  -            af = new ServerSideClassFactory( false );
  +            af = new ServerSideClassFactory();
           }
           else
           {
  -            af = new ClientSideClassFactory( false );
  +            af = new ClientSideClassFactory();
           }
   
           af.setHostContext( arhc );
  
  
  

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


Mime
View raw message