Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-35613

Improve JavadocFormatter to detect methods in ancestor's implementations which use generic type parameters

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      When one or more of the parameters in the method in the ancestor interface is a generic type, it won't be detected by the JavaDocFormatter and the Override annotation won't get automatically added.

      For example, FileComparator implements Comparator<File> which means that the method compare(File file1, File file2) in FileComparator overrides the method compare(T o1, T o2); in Comparator. JavadocFormatter doesn't detect this.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 34 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3
                  6.2.0 CE M6