> On 28 Sep 2015, at 19:45, Stefan Zobel <splitera...@gmail.com> wrote: > > Hi Paul, > > is it a good idea to add the "{@inheritDoc}" to the toString() Javadoc of > Optional (and to retain it in OptionalDouble/Int/Long)? > > As Stuart Marks has observed in the Double/Int/LongSummaryStatistics case > the inherited Object.toString() doc is "mostly irrelevant" > (see > http://mail.openjdk.java.net/pipermail/core-libs-dev/2015-June/034282.html) > > So the {@inheritDoc} got removed from Double/Int/LongSummaryStatistics in > JDK-8080450. I feel this would also be better for Optional. >
Done. > On 28 Sep 2015, at 20:00, Stefan Zobel <splitera...@gmail.com> wrote: > > In the OptionalDouble/Int/Long Javadoc of method "empty()" > > > * {@code Optional.empty()}. There is no guarantee that it is a singleton. > > > should be > > > * {@code OptionalDouble.empty()}. There is no guarantee that it is a > singleton. > > and so on. Done. Thanks, Paul.