mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-28 07:28:20 -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());
|
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 static class StateSet implements Comparable<StateSet> {
|
||||||
private final int[] state;
|
private final int[] state;
|
||||||
|
|
||||||
@ -332,6 +334,7 @@ public class TT2Exporter implements ExpressionExporter<TT2Exporter> {
|
|||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//CHECKSTYLE.ON: FinalClass
|
||||||
|
|
||||||
private final class ProdInput extends StateSet {
|
private final class ProdInput extends StateSet {
|
||||||
private ProdInput(int inputCount) {
|
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 class MouseController {
|
||||||
private final Cursor mouseCursor;
|
private final Cursor mouseCursor;
|
||||||
|
|
||||||
@ -706,6 +708,7 @@ public class CircuitComponent extends JComponent implements Circuit.ChangedListe
|
|||||||
public void escapePressed() {
|
public void escapePressed() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//CHECKSTYLE.ON: FinalClass
|
||||||
|
|
||||||
private final class MouseControllerNormal extends MouseController {
|
private final class MouseControllerNormal extends MouseController {
|
||||||
private Vector pos;
|
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
|
//CHECKSTYLE.OFF: RedundantModifier
|
||||||
private final static class StringEditor extends LabelEditor<String> {
|
private final static class StringEditor extends LabelEditor<String> {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user