Skip to content

Commit

Permalink
Fixed checkstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
hypfvieh committed Aug 7, 2023
1 parent 15316c5 commit ba37d70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void testCross() throws InterruptedException {

}

private class ServerThread extends Thread {
private final class ServerThread extends Thread {
@Override
public void run() {
try (DBusConnection conn = DBusConnectionBuilder.forSessionBus().build()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import javax.swing.JTabbedPane;

@SuppressWarnings("serial")
class SaveAllAction extends TabbedSaveAction {
final class SaveAllAction extends TabbedSaveAction {

protected SaveAllAction(JTabbedPane _tabbedPane) {
super(_tabbedPane, "Save All...");
Expand All @@ -27,7 +27,7 @@ public Iterator<TextFile> iterator() {
return new TabIterator();
}

private class TabIterator implements Iterator<TextFile> {
private final class TabIterator implements Iterator<TextFile> {
private int i = 0;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import javax.swing.event.ChangeListener;

@SuppressWarnings("serial")
class SaveFileAction extends TabbedSaveAction implements ChangeListener {
final class SaveFileAction extends TabbedSaveAction implements ChangeListener {
SaveFileAction(JTabbedPane _tabbedPane) {
super(_tabbedPane);

Expand Down Expand Up @@ -48,7 +48,7 @@ public Iterator<TextFile> iterator() {
return new SelectedTabIterator();
}

private class SelectedTabIterator implements Iterator<TextFile> {
private final class SelectedTabIterator implements Iterator<TextFile> {
// CHECKSTYLE:OFF
boolean iterated = false;
// CHECKSTYLE:ON
Expand Down

0 comments on commit ba37d70

Please sign in to comment.