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

@Override annotations should be used when possible

    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
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: