Quantcast

svn commit: r615703 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit: r615703 - /db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/performance/PerfMain.java

Armin Waibel
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: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...