[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/pojo ...

Elias Ross genman at noderunner.net
Tue Jan 16 20:31:08 EST 2007


  User: genman  
  Date: 07/01/16 20:31:08

  Modified:    tests/functional/org/jboss/cache/pojo  TestingUtil.java
  Log:
  Restrict visibility in CacheImpl of methods and members
  
  Revision  Changes    Path
  1.2       +4 -3      JBossCache/tests/functional/org/jboss/cache/pojo/TestingUtil.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TestingUtil.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/pojo/TestingUtil.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- TestingUtil.java	13 Jan 2007 15:55:01 -0000	1.1
  +++ TestingUtil.java	17 Jan 2007 01:31:08 -0000	1.2
  @@ -9,13 +9,14 @@
   
   import org.jboss.cache.CacheImpl;
   
  +import java.util.List;
   import java.util.Vector;
   
   /**
    * Utilities for unit testing JBossCache.
    *
    * @author <a href="mailto://brian.stansberry@jboss.com">Brian Stansberry</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class TestingUtil
   {
  @@ -89,7 +90,7 @@
       */
      public static boolean isCacheViewComplete(CacheImpl cache, int memberCount)
      {
  -      Vector members = cache.getMembers();
  +      List members = cache.getMembers();
         if (members == null || memberCount > members.size())
         {
            return false;
  @@ -108,7 +109,7 @@
            {
               if (j > 0)
                  sb.append(", ");
  -            sb.append(members.elementAt(j));
  +            sb.append(members.get(j));
            }
            sb.append(')');
   
  
  
  



More information about the jboss-cvs-commits mailing list