diff -r 1659bd59ead1 -r b694a580405b jdk/src/java.base/share/classes/java/util/IntSummaryStatistics.java --- a/jdk/src/java.base/share/classes/java/util/IntSummaryStatistics.java Wed Jun 24 15:15:10 2015 -0700 +++ b/jdk/src/java.base/share/classes/java/util/IntSummaryStatistics.java Wed Jun 24 16:08:58 2015 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -150,14 +150,12 @@ return getCount() > 0 ? (double) getSum() / getCount() : 0.0d; } - @Override /** - * {@inheritDoc} - * * Returns a non-empty string representation of this object suitable for * debugging. The exact presentation format is unspecified and may vary * between implementations and versions. */ + @Override public String toString() { return String.format( "%s{count=%d, sum=%d, min=%d, average=%f, max=%d}",