db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r615703 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java
Date Mon, 28 Jan 2008 02:09:04 GMT
Author: arminw
Date: Sun Jan 27 18:09:03 2008
New Revision: 615703

URL: http://svn.apache.org/viewvc?rev=615703&view=rev
Log:
minor improvement

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java?rev=615703&r1=615702&r2=615703&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java Sun
Jan 27 18:09:03 2008
@@ -729,10 +729,10 @@
             if(printer != null)
             {
                 printer.println();
-                printer.println("## Undefined value (<=0), can't calculate percent -->
use approximated value 0.1 to fix ##");
+                printer.println("## Undefined value (<=0), can't calculate percent -->
use approximated value 0.05 to fix ##");
                 printer.println();
             }
-            value = 0.1d;
+            value = 0.05d;
         }
         return Math.round((value / calibration) * 100);
     }
@@ -746,10 +746,10 @@
             {
                 name = name != null ? "'" + name + "'" : "test";
                 printer.println();
-                printer.println("## Can't calculate minimum " + name + " period, minimum
value is <=0 --> use approximated value 0.1 as minimum ##");
+                printer.println("## Can't calculate minimum " + name + " period, minimum
value is <=0 --> use approximated value 0.05 as minimum ##");
                 printer.println();
             }
-            result = 0.1d;
+            result = 0.05d;
         }
         return result;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message