Skip to content

Commit

Permalink
fix: array cast
Browse files Browse the repository at this point in the history
  • Loading branch information
litwak913 committed Jan 19, 2025
1 parent 6f967ff commit d7a587c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ public String getContent() {
}
};

NamedItem<String>[] items = (NamedItem[]) getWindowSystemItems().toArray();
NamedItem<String>[] items = getWindowSystemItems().toArray(new NamedItem[0]);
new ComboBoxSetup<>(configWindowSystem).setItems(items)
.selectValue(app.config.window_system, app.config.window_system)
.setOnNonNullValueUpdated((observable, oldValue, newValue) -> {
Expand Down

0 comments on commit d7a587c

Please sign in to comment.