geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject cvs commit: incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router InterceptorRegistryRouter.java
Date Wed, 19 Nov 2003 11:30:51 GMT
chirino     2003/11/19 03:30:51

  Modified:    modules/remoting/src/java/org/apache/geronimo/remoting/router
                        InterceptorRegistryRouter.java
  Log:
  Fixing the tests in the test suite.
  
  Revision  Changes    Path
  1.2       +5 -3      incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router/InterceptorRegistryRouter.java
  
  Index: InterceptorRegistryRouter.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router/InterceptorRegistryRouter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InterceptorRegistryRouter.java	16 Nov 2003 05:27:27 -0000	1.1
  +++ InterceptorRegistryRouter.java	19 Nov 2003 11:30:51 -0000	1.2
  @@ -93,7 +93,8 @@
        * @see org.apache.geronimo.remoting.router.AbstractInterceptorRouter#doStart()
        */
       public void doStart() {
  -        subsystemRouter.addRoute("/Remoting", this);
  +        if(subsystemRouter!=null)
  +            subsystemRouter.addRoute("/Remoting", this);
           super.doStart();
       }
       
  @@ -102,7 +103,8 @@
        */
       public void doStop() {
           super.doStop();
  -        subsystemRouter.removeRoute("/Remoting");
  +        if(subsystemRouter!=null)
  +            subsystemRouter.removeRoute("/Remoting");
       }
       
   
  
  
  

Mime
View raw message