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:
Michal Kordas 2015-03-14 14:16:57 +01:00 committed by Roman Ivanov
parent 5a96ddf4c9
commit 95cb607909
2 changed files with 2 additions and 2 deletions

View File

@ -700,7 +700,7 @@ public class CustomImportOrderCheck extends Check
* group.
* @author max
*/
class ImportDetails
static class ImportDetails
{
/** Import full path */
private String importFullPath;

View File

@ -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.