From a4ce8940abe8f9174a09ff381a63deebe9254b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=BChn?= Date: Wed, 26 Jan 2022 15:08:44 +0100 Subject: [PATCH] Fixed raw use of parameterized class 'JFXComboBox' --- client/app/src/main/java/main/OptionController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/app/src/main/java/main/OptionController.java b/client/app/src/main/java/main/OptionController.java index 9059203..11fae92 100644 --- a/client/app/src/main/java/main/OptionController.java +++ b/client/app/src/main/java/main/OptionController.java @@ -34,8 +34,6 @@ public class OptionController { @FXML public Label labelError; @FXML - public JFXComboBox userCmb; - @FXML public GridPane mainGrid; @FXML @@ -52,7 +50,7 @@ public class OptionController { for (User user: users) { observableUserList.add(user.getLogin()); } - JFXComboBox comboBox = new JFXComboBox(observableUserList); + JFXComboBox comboBox = new JFXComboBox<>(observableUserList); comboBox.getStyleClass().add("comboBox"); mainGrid.add(comboBox, 2,2);