I don't understand this warning:
found raw type: javax.swing.DefaultListModel
missing type arguements for generic class javax.swing.DefaultListModel
Netbeans seems to indicate that more information can be found from alt-enter
but nothing comes up. The type should be ?
code:
package net.bounceme.dur.nntp.swing;
import java.util.logging.Logger;
import javax.swing.DefaultListModel;
public class MessagesListModel extends DefaultListModel {
private static final long serialVersionUID = 1L;
private static final Logger LOG = Logger.getLogger(MessagesListModel.class.getName());
@Override
@SuppressWarnings("unchecked")
public void addElement(Object element) {
super.addElement(element);
}
}