From f853b31306e8704bdddc7cfbbbd0bbdd07e4d1ca Mon Sep 17 00:00:00 2001 From: Ivan Gerasimov Date: Wed, 26 Jun 2019 17:06:43 -0700 Subject: 8224716: Javadoc of Int/Long/DoubleSummaryStatistics should mention possible overflow of count Reviewed-by: bpb --- src/java.base/share/classes/java/util/LongSummaryStatistics.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java.base/share/classes/java/util/LongSummaryStatistics.java') diff --git a/src/java.base/share/classes/java/util/LongSummaryStatistics.java b/src/java.base/share/classes/java/util/LongSummaryStatistics.java index 06ad64795da..ec8d9441c79 100644 --- a/src/java.base/share/classes/java/util/LongSummaryStatistics.java +++ b/src/java.base/share/classes/java/util/LongSummaryStatistics.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2019, 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 @@ -60,7 +60,7 @@ import java.util.stream.Collector; * provides the necessary partitioning, isolation, and merging of results for * safe and efficient parallel execution. * - *

This implementation does not check for overflow of the sum. + *

This implementation does not check for overflow of the count or the sum. * @since 1.8 */ public class LongSummaryStatistics implements LongConsumer, IntConsumer { -- cgit v1.3.1