[
https://issues.apache.org/jira/browse/OFBIZ-11941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173772#comment-17173772 ]
ASF subversion and git services commented on OFBIZ-11941:
---------------------------------------------------------
Commit d70bb8763e5009fe0eb13661c41c8f23f8d706a8 in ofbiz-framework's branch refs/heads/trunk from Suraj Khurana
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=d70bb87 ]
Improved: Added override property in DesignForExtension module to avoid unnecessary design for extension checkstyle error messages for overrided methods.
(OFBIZ-11941)
Thanks Jacques for you inputs.
> Checkstyle: Add override property in DesignForExtension module
> --------------------------------------------------------------
>
> Key: OFBIZ-11941
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11941> Project: OFBiz
> Issue Type: Sub-task
> Components: ALL COMPONENTS
> Affects Versions: Trunk
> Reporter: Suraj Khurana
> Assignee: Suraj Khurana
> Priority: Major
> Attachments: OFBIZ-11941.patch
>
>
> While performing checks for class design it is mandatory to provide javadoc, we can skip override methods from this checkstyle check.
> Sample error:
> Class 'ABC' looks like designed for extension (can be subclassed), but the method 'xyz' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ABC' final or making the method 'xyz' static/final/abstract/empty, or adding allowed annotation for the method.
> <module name="DesignForExtension">
> <property name="ignoredAnnotations"
> value="After, AfterClass, Before, BeforeClass, Test, Property, *Override*"/>
> </module>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)