Quantcast

<i18n dev> RFR: Remove stray @deprecated in Date#getDate

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

<i18n dev> RFR: Remove stray @deprecated in Date#getDate

Martin Buchholz-3
I say we make this extraordinarily safe fix in jdk9:

https://bugs.openjdk.java.net/browse/JDK-8176886
--- a/src/java.base/share/classes/java/util/Date.java
+++ b/src/java.base/share/classes/java/util/Date.java
@@ -728,7 +728,6 @@
      * @see     java.util.Calendar
      * @deprecated As of JDK version 1.1,
      * replaced by {@code Calendar.get(Calendar.DAY_OF_MONTH)}.
-     * @deprecated
      */
     @Deprecated
     public int getDate() {
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: <i18n dev> RFR: Remove stray @deprecated in Date#getDate

Naoto Sato-2
Looks good.

Naoto

On 3/16/17 10:13 AM, Martin Buchholz wrote:

> I say we make this extraordinarily safe fix in jdk9:
>
> https://bugs.openjdk.java.net/browse/JDK-8176886
> --- a/src/java.base/share/classes/java/util/Date.java
> +++ b/src/java.base/share/classes/java/util/Date.java
> @@ -728,7 +728,6 @@
>       * @see     java.util.Calendar
>       * @deprecated As of JDK version 1.1,
>       * replaced by {@code Calendar.get(Calendar.DAY_OF_MONTH)}.
> -     * @deprecated
>       */
>      @Deprecated
>      public int getDate() {
>
Loading...