Fix console warnings during compilation (gradle build)
This commit is contained in:
@@ -71,7 +71,7 @@ public class JRoot extends JNode {
|
||||
}
|
||||
|
||||
public JNode searchClassInTree(JNode node) {
|
||||
Enumeration en = this.breadthFirstEnumeration();
|
||||
Enumeration<?> en = this.breadthFirstEnumeration();
|
||||
while (en.hasMoreElements()) {
|
||||
Object obj = en.nextElement();
|
||||
if (node.equals(obj)) {
|
||||
|
||||
@@ -41,6 +41,7 @@ class LogViewer extends JDialog {
|
||||
|
||||
JPanel controlPane = new JPanel();
|
||||
controlPane.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
|
||||
@SuppressWarnings("unchecked")
|
||||
final JComboBox cb = new JComboBox(LEVEL_ITEMS);
|
||||
cb.setSelectedItem(level);
|
||||
cb.addActionListener(new ActionListener() {
|
||||
|
||||
Reference in New Issue
Block a user