mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-06 22:06:31 +00:00
Suppress unchecked
This commit is contained in:
@@ -119,6 +119,7 @@ class CharacterTagListCellRenderer extends DefaultListCellRenderer {
|
||||
Component component = super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
|
||||
if (component instanceof JLabel) {
|
||||
JLabel label = (JLabel) component;
|
||||
@SuppressWarnings("unchecked")
|
||||
ComboBoxItem<CharacterTag> comboboxItem = (ComboBoxItem<CharacterTag>) value;
|
||||
label.setIcon(AbstractTagTree.getIconForType(AbstractTagTree.getTreeNodeType(comboboxItem.getValue())));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user