Rule:UnnecessaryConstructor Priority:3 Avoid unnecessary constructors - the compiler will generate these for you. Issue #744

This commit is contained in:
Roman Ivanov 2015-04-22 12:38:46 -07:00
parent 682ae919e5
commit 9b5594952d
6 changed files with 0 additions and 32 deletions

View File

@ -49,12 +49,6 @@ public class DefaultComesLastCheck extends Check
*/
public static final String MSG_KEY = "default.comes.last";
/** Creates new instance of the check. */
public DefaultComesLastCheck()
{
// do nothing
}
@Override
public int[] getDefaultTokens()
{

View File

@ -86,12 +86,6 @@ public class FallThroughCheck extends Check
/** Relief regexp. */
private Pattern regExp;
/** Creates new instance of the check. */
public FallThroughCheck()
{
// do nothing
}
@Override
public int[] getDefaultTokens()
{

View File

@ -57,11 +57,6 @@ public class MultipleVariableDeclarationsCheck extends Check
*/
public static final String MSG_MULTIPLE_COMMA = "multiple.variable.declarations.comma";
/** Creates new instance of the check. */
public MultipleVariableDeclarationsCheck()
{
}
@Override
public int[] getDefaultTokens()
{

View File

@ -105,11 +105,6 @@ public class RequireThisCheck extends DeclarationCollector
return checkMethods;
}
/** Creates new instance of the check. */
public RequireThisCheck()
{
}
@Override
public int[] getDefaultTokens()
{

View File

@ -80,11 +80,6 @@ public class UnusedImportsCheck extends Check
/** set of references - possibly to imports or other things. */
private final Set<String> referenced = Sets.newHashSet();
/** Default constructor. */
public UnusedImportsCheck()
{
}
public void setProcessJavadoc(boolean value)
{
processJavadoc = value;

View File

@ -141,11 +141,6 @@ public class IndentationCheck extends Check
/** factory from which handlers are distributed */
private final HandlerFactory handlerFactory = new HandlerFactory();
/** Creates a new instance of IndentationCheck. */
public IndentationCheck()
{
}
/**
* Get forcing strict condition.
* @return forceStrictCondition value.