changeset 7285:198de8103df2

Merge
author mduigou
date Fri, 31 May 2013 17:31:40 -0700
parents f6e6c27c19f3 fc0b3e86fdcf
children c8410ce73ad6
files
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/IntSummaryStatistics.java	Fri May 31 15:18:15 2013 -0400
+++ b/src/share/classes/java/util/IntSummaryStatistics.java	Fri May 31 17:31:40 2013 -0700
@@ -159,7 +159,7 @@
      */
     public String toString() {
         return String.format(
-            "%s{count=%d, sum=%d, min=%d, average=%d, max=%d}",
+            "%s{count=%d, sum=%d, min=%d, average=%f, max=%d}",
             this.getClass().getSimpleName(),
             getCount(),
             getSum(),
--- a/src/share/classes/java/util/LongSummaryStatistics.java	Fri May 31 15:18:15 2013 -0400
+++ b/src/share/classes/java/util/LongSummaryStatistics.java	Fri May 31 17:31:40 2013 -0700
@@ -171,7 +171,7 @@
      */
     public String toString() {
         return String.format(
-            "%s{count=%d, sum=%d, min=%d, average=%d, max=%d}",
+            "%s{count=%d, sum=%d, min=%d, average=%f, max=%d}",
             this.getClass().getSimpleName(),
             getCount(),
             getSum(),