- @SuppressWarnings({ "unchecked", "rawtypes" }) // not compatible Java 1.6
- public ListModel(final JList list, final JPopupMenu popup) {
- this((JList6<T>) list, popup);
+ @SuppressWarnings("rawtypes") // JList<?> not compatible Java 1.6
+ public ListModel(final JList6<T> list, final JPopupMenu popup) {
+ this((JList) list, popup);