|
@@ -99,11 +99,8 @@ public final class IconManager implements ConfigChangeListener {
|
99
|
99
|
* @since 0.6.3
|
100
|
100
|
*/
|
101
|
101
|
public Icon getScaledIcon(final String type, final int width, final int height) {
|
102
|
|
- if (!icons.containsKey(type)) {
|
103
|
|
- icons.put(type, new ImageIcon(getScaledImage(
|
104
|
|
- new ImageIcon(getIconURL(type)).getImage(), width, height)));
|
105
|
|
- }
|
106
|
|
- return icons.get(type);
|
|
102
|
+ return new ImageIcon(getScaledImage(new ImageIcon(getIconURL(type)).
|
|
103
|
+ getImage(), width, height));
|
107
|
104
|
}
|
108
|
105
|
|
109
|
106
|
/**
|