CVS update: JGroups/tests/other/org/jgroups/tests PerfTpTest.java

"Bela Ban" <[email protected]> Thu, 16 Sep 2010 15:27:40 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/09/16 15:27:40

  Modified:    tests/other/org/jgroups/tests PerfTpTest.java
  Log:
  ns
  
  Revision  Changes    Path
  1.11      +3 -3      JGroups/tests/other/org/jgroups/tests/PerfTpTest.java
  
  Index: PerfTpTest.java
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/tests/other/org/jgroups/tests/PerfTpTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PerfTpTest.java	9 Apr 2009 09:11:20 -0000	1.10
  +++ PerfTpTest.java	16 Sep 2010 15:27:40 -0000	1.11
  @@ -13,7 +13,7 @@
   /**
    * Test of PERF_TP. Requirement: transport needs to be PERF_TP
    * @author Bela Ban Feb 24, 2004
  - * @version $Id: PerfTpTest.java,v 1.10 2009/04/09 09:11:20 belaban Exp $
  + * @version $Id: PerfTpTest.java,v 1.11 2010/09/16 15:27:40 belaban Exp $
    */
   public class PerfTpTest {
       JChannel ch=null;
  @@ -109,8 +109,8 @@
           }
           else {
               List msgs=new LinkedList();
  -            Vector protocols=ch.getProtocolStack().getProtocols();
  -            transport=(Protocol)protocols.lastElement();
  +            List protocols=ch.getProtocolStack().getProtocols();
  +            transport=(Protocol)protocols.get(protocols.size() -1);
               int i=0;
               while(true) {
                   msg=new Message();
  
  
  

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev