[jboss-cvs] CacheBenchFwk/cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers ...

Manik Surtani manik at jboss.org
Tue May 22 06:01:53 EDT 2007


  User: msurtani
  Date: 07/05/22 06:01:53

  Modified:    cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers 
                        JBossCache200Wrapper.java
  Log:
  reduced fqn construction ohead
  
  Revision  Changes    Path
  1.3       +2 -2      CacheBenchFwk/cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers/JBossCache200Wrapper.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JBossCache200Wrapper.java
  ===================================================================
  RCS file: /cvsroot/jboss/CacheBenchFwk/cache-products/jbosscache-2.0.0/src/org/cachebench/cachewrappers/JBossCache200Wrapper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- JBossCache200Wrapper.java	22 May 2007 07:57:34 -0000	1.2
  +++ JBossCache200Wrapper.java	22 May 2007 10:01:52 -0000	1.3
  @@ -28,13 +28,13 @@
      public void put(Object key, Object value) throws Exception
      {
         // make sure the threads don't conflict!
  -      Fqn f = Fqn.fromString("/" + Thread.currentThread().getName() + "/" + key);
  +      Fqn f = new Fqn("test", key);
         cache.put(f, key, value);
      }
   
      public Object get(Object key) throws Exception
      {
  -      Fqn f = Fqn.fromString("/" + Thread.currentThread().getName() + "/" + key);
  +      Fqn f = new Fqn("test", key);
         return cache.get(f, key);
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list