ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathieu Lirzin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-10939) @Override annotations should be used when possible
Date Sun, 21 Apr 2019 15:08:00 GMT
Mathieu Lirzin created OFBIZ-10939:
--------------------------------------

             Summary: @Override annotations should be used when possible
                 Key: OFBIZ-10939
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10939
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Mathieu Lirzin
             Fix For: Upcoming Branch


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.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message