Rule:UnnecessaryConstructor Priority:3 Avoid unnecessary constructors - the compiler will generate these for you. Issue #744
This commit is contained in:
parent
682ae919e5
commit
9b5594952d
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -105,11 +105,6 @@ public class RequireThisCheck extends DeclarationCollector
|
|||
return checkMethods;
|
||||
}
|
||||
|
||||
/** Creates new instance of the check. */
|
||||
public RequireThisCheck()
|
||||
{
|
||||
}
|
||||
|
||||
@Override
|
||||
public int[] getDefaultTokens()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue