changeset 41492:07554e9682b7

8167166: Java API docs mention a non-existent method getNanosOfSecond Reviewed-by: naoto
author rriggs
date Fri, 14 Oct 2016 17:15:11 -0400
parents 854cef16b9fc
children f31d65424ed0
files jdk/src/java.base/share/classes/java/time/Instant.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/java/time/Instant.java	Thu Oct 13 17:47:30 2016 -0700
+++ b/jdk/src/java.base/share/classes/java/time/Instant.java	Fri Oct 14 17:15:11 2016 -0400
@@ -610,7 +610,7 @@
      * <p>
      * The epoch second count is a simple incrementing count of seconds where
      * second 0 is 1970-01-01T00:00:00Z.
-     * The nanosecond part of the day is returned by {@code getNanosOfSecond}.
+     * The nanosecond part of the day is returned by {@link #getNano}.
      *
      * @return the seconds from the epoch of 1970-01-01T00:00:00Z
      */
@@ -623,7 +623,7 @@
      * of the second.
      * <p>
      * The nanosecond-of-second value measures the total number of nanoseconds from
-     * the second returned by {@code getEpochSecond}.
+     * the second returned by {@link #getEpochSecond}.
      *
      * @return the nanoseconds within the second, always positive, never exceeds 999,999,999
      */