[jboss-cvs] JBossCache/tests/perf/org/jboss/cache/test/perf ...

Manik Surtani manik at jboss.org
Mon Jun 11 08:58:18 EDT 2007


  User: msurtani
  Date: 07/06/11 08:58:18

  Modified:    tests/perf/org/jboss/cache/test/perf  Server.java
  Log:
  Reduce Java5 related ide generated warnings
  
  Revision  Changes    Path
  1.4       +11 -11    JBossCache/tests/perf/org/jboss/cache/test/perf/Server.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Server.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/tests/perf/org/jboss/cache/test/perf/Server.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- Server.java	30 May 2007 11:35:16 -0000	1.3
  +++ Server.java	11 Jun 2007 12:58:18 -0000	1.4
  @@ -135,7 +135,7 @@
         if (str == null)
            throw new RuntimeException("Can't find random_sleep_interval property");
   
  -      randomSleep_ = new Boolean(str).booleanValue();
  +      randomSleep_ = new Boolean(str);
   
         str = (String) props_.get("object_list_size");
         if (str == null)
  @@ -147,7 +147,7 @@
         if (str == null)
            throw new RuntimeException("Can't find transaction property");
   
  -      transaction_ = new Boolean(str).booleanValue();
  +      transaction_ = new Boolean(str);
   
         /*
         str = (String)props_.get("operation_type");
  @@ -271,7 +271,7 @@
         if (str == null)
            throw new RuntimeException("Can't find run_PojoCache property");
   
  -      server.runPojoCache_ = new Boolean(str).booleanValue();
  +      server.runPojoCache_ = new Boolean(str);
         if (server.runPojoCache_ && !Advised.class.isAssignableFrom(Address.class))
         {
            System.err.println("Aop not present, either install the JVM agent or run aopc!");
  
  
  



More information about the jboss-cvs-commits mailing list