mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 14:31:02 -04:00
fixed some wrong checkstyle messages
This commit is contained in:
parent
1b8c4ceae5
commit
22663d131b
@ -271,6 +271,8 @@ public class TT2Exporter implements ExpressionExporter<TT2Exporter> {
|
||||
line("#$ NODES " + nodeNum + node.toString());
|
||||
}
|
||||
|
||||
//StateSet can not be final because its overridden. Maybe checkstyle has a bug?
|
||||
//CHECKSTYLE.OFF: FinalClass
|
||||
private static class StateSet implements Comparable<StateSet> {
|
||||
private final int[] state;
|
||||
|
||||
@ -332,6 +334,7 @@ public class TT2Exporter implements ExpressionExporter<TT2Exporter> {
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
//CHECKSTYLE.ON: FinalClass
|
||||
|
||||
private final class ProdInput extends StateSet {
|
||||
private ProdInput(int inputCount) {
|
||||
|
@ -662,6 +662,8 @@ public class CircuitComponent extends JComponent implements Circuit.ChangedListe
|
||||
|
||||
}
|
||||
|
||||
//MouseController can not be final because its overridden. Maybe checkstyle has a bug?
|
||||
//CHECKSTYLE.OFF: FinalClass
|
||||
private class MouseController {
|
||||
private final Cursor mouseCursor;
|
||||
|
||||
@ -706,6 +708,7 @@ public class CircuitComponent extends JComponent implements Circuit.ChangedListe
|
||||
public void escapePressed() {
|
||||
}
|
||||
}
|
||||
//CHECKSTYLE.ON: FinalClass
|
||||
|
||||
private final class MouseControllerNormal extends MouseController {
|
||||
private Vector pos;
|
||||
|
@ -127,6 +127,7 @@ public final class EditorFactory {
|
||||
}
|
||||
}
|
||||
|
||||
//Checkstyle flags redundant modifiers, which are not redundant. Maybe a bug in checkstyle?
|
||||
//CHECKSTYLE.OFF: RedundantModifier
|
||||
private final static class StringEditor extends LabelEditor<String> {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user