ErrorProne: fix sampler/UnusedVariable

This commit is contained in:
mkpaz 2023-02-09 15:47:33 +04:00
parent 85a654f96b
commit aafe2b4abc
2 changed files with 1 additions and 1 deletions

@ -187,6 +187,7 @@ public class ComboBoxPage extends AbstractPage {
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
@SuppressWarnings("unused")
private record Badge(String text, Ikon icon) { } private record Badge(String text, Ikon icon) { }
private static class BadgeCell extends ListCell<Badge> { private static class BadgeCell extends ListCell<Badge> {

@ -12,7 +12,6 @@ import java.util.Objects;
final class Model { final class Model {
private final ObservableList<MediaFile> playlist = FXCollections.observableArrayList(); private final ObservableList<MediaFile> playlist = FXCollections.observableArrayList();
private final IntegerProperty playlistIndex = new SimpleIntegerProperty();
private final ReadOnlyBooleanWrapper canGoBack = new ReadOnlyBooleanWrapper(); private final ReadOnlyBooleanWrapper canGoBack = new ReadOnlyBooleanWrapper();
private final ReadOnlyBooleanWrapper canGoForward = new ReadOnlyBooleanWrapper(); private final ReadOnlyBooleanWrapper canGoForward = new ReadOnlyBooleanWrapper();
private final ReadOnlyObjectWrapper<MediaFile> currentTrack = new ReadOnlyObjectWrapper<>(); private final ReadOnlyObjectWrapper<MediaFile> currentTrack = new ReadOnlyObjectWrapper<>();