changeset 32277:8671ccb7af7c

8133939: javadoc clarification for java.sql.Date.toLocalDate Reviewed-by: joehw
author lancea
date Tue, 25 Aug 2015 13:40:07 -0400
parents 2d5fcc89e099
children 453620b46da1
files jdk/src/java.sql/share/classes/java/sql/Date.java
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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