checkstyle: make IgnoreSection inner class to overcome "OuterTypeFilenameCheck"
@@ -27,6 +27,12 @@ import edu.umd.cs.findbugs.annotations.CheckForNull;
import io.jenkins.plugins.analysis.core.util.LocalizedSeverity;
+/**
+ * Scans a given input stream for open tasks.
+ *
+ * @author Ullrich Hafner
+ */
+class TaskScanner {
class IgnoreSection {
private static final String IGNORE_BEGIN = " task-scanner-ignore-begin";
private static final String IGNORE_END = " task-scanner-ignore-end";
@@ -48,12 +54,6 @@ class IgnoreSection {
}
}
-/**
- * Scans a given input stream for open tasks.
- *
- * @author Ullrich Hafner
- */
-class TaskScanner {
private final IgnoreSection inIgnoreSection = new IgnoreSection();
private static final String WORD_BOUNDARY = "\\b";
