[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket ...

Ron Sigal ron_sigal at yahoo.com
Sun Aug 5 00:18:59 EDT 2007


  User: rsigal  
  Date: 07/08/05 00:18:59

  Modified:    src/tests/org/jboss/test/remoting/transport/bisocket  Tag:
                        remoting_2_2_0_GA CallbackDisconnectTestCase.java
  Log:
  JBREM-767:  Eliminated unnecessary cast.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +2 -2      JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/Attic/CallbackDisconnectTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CallbackDisconnectTestCase.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/bisocket/Attic/CallbackDisconnectTestCase.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -b -r1.1.2.2 -r1.1.2.3
  --- CallbackDisconnectTestCase.java	5 Aug 2007 04:17:46 -0000	1.1.2.2
  +++ CallbackDisconnectTestCase.java	5 Aug 2007 04:18:59 -0000	1.1.2.3
  @@ -57,7 +57,7 @@
    * Unit test for JBREM-767.
    * 
    * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  - * @version $Revision: 1.1.2.2 $
  + * @version $Revision: 1.1.2.3 $
    * <p>
    * Copyright Aug 4, 2007
    * </p>
  @@ -140,7 +140,7 @@
         log.info("callback handler is installed");
         
         // Remove existing connections for callback clients.
  -      ServerInvoker serverInvoker = (ServerInvoker) connector.getServerInvoker();
  +      ServerInvoker serverInvoker = connector.getServerInvoker();
         Field field = ServerInvoker.class.getDeclaredField("callbackHandlers");
         field.setAccessible(true);
         Map callbackHandlers = (Map) field.get(serverInvoker);
  
  
  



More information about the jboss-cvs-commits mailing list