diff --git a/sampler/src/main/java/atlantafx/sampler/page/components/ComboBoxPage.java b/sampler/src/main/java/atlantafx/sampler/page/components/ComboBoxPage.java index 6299274..756144a 100644 --- a/sampler/src/main/java/atlantafx/sampler/page/components/ComboBoxPage.java +++ b/sampler/src/main/java/atlantafx/sampler/page/components/ComboBoxPage.java @@ -187,6 +187,7 @@ public class ComboBoxPage extends AbstractPage { /////////////////////////////////////////////////////////////////////////// + @SuppressWarnings("unused") private record Badge(String text, Ikon icon) { } private static class BadgeCell extends ListCell { diff --git a/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/Model.java b/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/Model.java index 4a18a15..89079f8 100644 --- a/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/Model.java +++ b/sampler/src/main/java/atlantafx/sampler/page/showcase/musicplayer/Model.java @@ -12,7 +12,6 @@ import java.util.Objects; final class Model { private final ObservableList playlist = FXCollections.observableArrayList(); - private final IntegerProperty playlistIndex = new SimpleIntegerProperty(); private final ReadOnlyBooleanWrapper canGoBack = new ReadOnlyBooleanWrapper(); private final ReadOnlyBooleanWrapper canGoForward = new ReadOnlyBooleanWrapper(); private final ReadOnlyObjectWrapper currentTrack = new ReadOnlyObjectWrapper<>();