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

@Override annotations should be used when possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • None
    • framework
    • 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

            mthl Mathieu Lirzin (Inactive)
            mthl Mathieu Lirzin (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: