0

I have this code

...
ObservableList<Media> audio = controller.getAudioTabPageController().getMediasListView();
ObservableList<Media> image = controller.getImageTabPageController().getMediasListView();
ObservableList<Media> video = controller.getVideoTabPageController().getMediasListView();

ObservableList<Media> medias = FXCollections.concat(audio, image, video);
...

but i got this in FXCollections.concat()

unchecked generic array creation for varargs parameter

What is exactly going wrong and how would I fix it, as I suppose leaving unchecked warnings in the code is not a good idea?

2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.