Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8176886

Remove stray @deprecated in Date#getDate

    XMLWordPrintable

Details

    • b162
    • Not verified

    Backports

      Description

        Let's fix this ancient mistake:

        --- 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() {

        Attachments

          Issue Links

            Activity

              People

                martin Martin Buchholz
                martin Martin Buchholz
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: