You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2003/06/07 12:17:34 UTC

cvs commit: db-ojb/src/test/org/apache/ojb/broker PerformanceTest2.java

brj         2003/06/07 03:17:34

  Modified:    src/test/org/apache/ojb/broker PerformanceTest2.java
  Log:
  some style fixes
  
  Revision  Changes    Path
  1.16      +4 -4      db-ojb/src/test/org/apache/ojb/broker/PerformanceTest2.java
  
  Index: PerformanceTest2.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/PerformanceTest2.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- PerformanceTest2.java	7 Feb 2003 10:58:40 -0000	1.15
  +++ PerformanceTest2.java	7 Jun 2003 10:17:34 -0000	1.16
  @@ -30,7 +30,7 @@
       private static int iterationsPerThread = 1000;
       private static int concurrentThreads = 10;
       // used for client generated ids
  -    private static int id = 10001;
  +    private static int s_id = 10001;
       // if set false, we use autoincrement key gerneration
       private static boolean clientKeyGeneration = false;
       private static int whichTest = 3;
  @@ -57,7 +57,7 @@
        */
       public synchronized static int getId()
       {
  -        return ++id;
  +        return ++s_id;
       }
   
       public int getArticleCount()
  @@ -347,7 +347,7 @@
           private PerformanceArticle[] arr;
           private Implementation odmg;
           private String threadName;
  -        private Database db;
  +        private Database m_db;
   
           public PerfomanceTestClientODMG()
           {