Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10939

@Override annotations should be used when possible

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: framework
    • Labels:
      None

      Description

      The ‘@Override’ annotation helps readers to understand that the method
      at hand is overriding a super class or implementing an interface.
      Additionally it allows the compiler to check if the methods annotated
      with ‘@Override’ are actually implementing an abstract method.

      Using that annotation makes ‘@see foo.bar.ParentClass#myMethod’
      comments useless.

        Attachments

          Activity

            People

            • Assignee:
              mthl Mathieu Lirzin (Inactive)
              Reporter:
              mthl Mathieu Lirzin (Inactive)

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment