Skip to content

Commit dcc7254

Browse files
author
Eric Caspole
committed
8361213: J2DAnalyzer should emit the score as a decimal
Reviewed-by: prr
1 parent 003be0d commit dcc7254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/demo/share/java2d/J2DBench/src/j2dbench/report/J2DAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public static void main(String[] argv) {
270270
} else {
271271
double overallscore = totalscore[i]/numtests[i];
272272
System.out.println(" Number of tests: "+numtests[i]);
273-
System.out.println(" Overall average: "+overallscore);
273+
System.out.printf( " Overall average: %-10.4f%n", overallscore);
274274
System.out.println(" Best spread: "+bestspread[i]+
275275
"% variance");
276276
System.out.println(" Worst spread: "+worstspread[i]+

0 commit comments

Comments
 (0)