From 791d62a37e69b28ebda30facc4df5cdeabb1abf0 Mon Sep 17 00:00:00 2001 From: Lance Andersen Date: Tue, 25 Aug 2015 13:40:07 -0400 Subject: [PATCH] 8133939: javadoc clarification for java.sql.Date.toLocalDate Reviewed-by: joehw --- jdk/src/java.sql/share/classes/java/sql/Date.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/jdk/src/java.sql/share/classes/java/sql/Date.java b/jdk/src/java.sql/share/classes/java/sql/Date.java index 0c425de4148..40593e69412 100644 --- a/jdk/src/java.sql/share/classes/java/sql/Date.java +++ b/jdk/src/java.sql/share/classes/java/sql/Date.java @@ -295,11 +295,8 @@ public class Date extends java.util.Date { } /** - * Converts this {@code Date} object to a {@code LocalDate} - *

- * 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