Make inner classes static when possible, issue #778
All violations of Fildbugs rule [SIC: Should be a static inner class](http://findbugs.sourceforge.net/bugDescriptions.html#SIC_INNER_SHOULD_BE_STATIC) are fixed.
This commit is contained in:
parent
5a96ddf4c9
commit
95cb607909
|
|
@ -700,7 +700,7 @@ public class CustomImportOrderCheck extends Check
|
|||
* group.
|
||||
* @author max
|
||||
*/
|
||||
class ImportDetails
|
||||
static class ImportDetails
|
||||
{
|
||||
/** Import full path */
|
||||
private String importFullPath;
|
||||
|
|
|
|||
|
|
@ -561,7 +561,7 @@ public abstract class AbstractJavadocCheck extends Check
|
|||
/**
|
||||
* Custom error listener for JavadocParser that prints user readable errors.
|
||||
*/
|
||||
class DescriptiveErrorListener extends BaseErrorListener
|
||||
static class DescriptiveErrorListener extends BaseErrorListener
|
||||
{
|
||||
/**
|
||||
* Parse error while token recognition.
|
||||
|
|
|
|||
Loading…
Reference in New Issue