Remove redundant no-arg constructor. #1555

Fixes `UnnecessaryConstructor` inspection violations.

Description:
>Reports unnecessary constructors. A constructor is unnecessary if it is the only constructor of a class, has no parameters, has the same access modifiers as its containing class, and does not perform any initialization except explicitly or implicitly calling the super class constructor without arguments. Such a constructor can be safely removed as it will be generated by the compiler even if not specified.
This commit is contained in:
Michal Kordas 2015-08-23 22:44:20 +02:00 committed by Roman Ivanov
parent bee8aab67c
commit 7d0b3edff8
1 changed files with 0 additions and 3 deletions

View File

@ -6,9 +6,6 @@
package com.puppycrawl.tools.checkstyle;
class DebugChecker extends Checker {
DebugChecker() {
}
@Override
public void fireAuditFinished() {
super.fireAuditFinished();