8133939: javadoc clarification for java.sql.Date.toLocalDate
authorlancea
Tue, 25 Aug 2015 13:40:07 -0400
changeset 32277 8671ccb7af7c
parent 32276 2d5fcc89e099
child 32298 453620b46da1
8133939: javadoc clarification for java.sql.Date.toLocalDate Reviewed-by: joehw
jdk/src/java.sql/share/classes/java/sql/Date.java
--- a/jdk/src/java.sql/share/classes/java/sql/Date.java	Tue Aug 25 19:45:07 2015 +0300
+++ b/jdk/src/java.sql/share/classes/java/sql/Date.java	Tue Aug 25 13:40:07 2015 -0400
@@ -295,11 +295,8 @@
     }
 
     /**
-     * Converts this {@code Date} object to a {@code LocalDate}
-     * <p>
-     * The conversion creates a {@code LocalDate} that represents the same
-     * date value as this {@code Date} in local time zone
-     *
+     * Creates a {@code LocalDate} instance using the year, month and day
+     * from this {@code Date} object.
      * @return a {@code LocalDate} object representing the same date value
      *
      * @since 1.8