java 1.6 compat
authorNiki Roo <niki@nikiroo.be>
Sun, 19 Apr 2020 18:37:27 +0000 (20:37 +0200)
committerNiki Roo <niki@nikiroo.be>
Sun, 19 Apr 2020 18:37:27 +0000 (20:37 +0200)
src/be/nikiroo/fanfix_swing/gui/BooksPanel.java

index 47d6a6ee888753f4ad88244f17bd0fcf15d9f2ae..93f2998fd6f3d416d8f143195743a6a7449d06f4 100644 (file)
@@ -149,7 +149,7 @@ public class BooksPanel extends ListenerPanel {
 
        @SuppressWarnings("rawtypes") // JList<BookInfo> is not java 1.6
        private JList initList() {
-               final JList<BookInfo> list = new JList<BookInfo>();
+               final JList list = new JList();
                data = new ListModel<BookInfo>(list, new BookPopup(
                                Instance.getInstance().getLibrary(), initInformer()));