Issue #2661: Enforce OverridableMethodInConstructor of sevntu-checkstyle over Checkstyle source code

This commit is contained in:
Andrei Selkin 2015-12-18 23:13:57 +03:00 committed by Roman Ivanov
parent f489ea2790
commit 8d5807a3dc
2 changed files with 6 additions and 1 deletions

View File

@ -65,5 +65,10 @@
<module name="EnumValueNameCheck">
<property name="objFormat" value="^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$"/>
</module>
<module name="OverridableMethodInConstructor">
<property name="checkCloneMethod" value="true"/>
<property name="checkReadObjectMethod" value="true"/>
<property name="matchMethodsByArgCount" value="true"/>
</module>
</module>
</module>

View File

@ -222,7 +222,7 @@ public class ParseTreeTableModel implements TreeModel {
* @param children An array of Object containing the inserted, removed, or changed objects.
* @see EventListenerList
*/
void fireTreeStructureChanged(Object source, Object[] path,
final void fireTreeStructureChanged(Object source, Object[] path,
int[] childIndices,
Object... children) {
// Guaranteed to return a non-null array