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

Add missing @Override annotations to WindowsMenuItemUIAccessor

XMLWordPrintable

    • b20
    • 25

      JDK-8352638 added missing @Override annotations to overridden methods.

      The code review states, “I skipped adding @Override for anonymous classes,” although it was added in some cases.

      WindowsMenuItemUIAccessor in WindowsMenu*UI classes now has the @Override annotation at the getMenuItem and getPart methods but lacks it at the getState method.

      To address the inconsistency, add the @Override annotation to the getState method in WindowsMenuItemUIAccessor.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: