Merge pull request #447 from darki2002/unneeded_if
Cooja: deleted unneeded if in Visualizer.java
This commit is contained in:
commit
fb84f65ba2
|
@ -212,12 +212,11 @@ public class Visualizer extends VisPlugin implements HasQuickHelp {
|
||||||
|
|
||||||
/* Register external visualizers */
|
/* Register external visualizers */
|
||||||
String[] skins = gui.getProjectConfig().getStringArrayValue(Visualizer.class, "SKINS");
|
String[] skins = gui.getProjectConfig().getStringArrayValue(Visualizer.class, "SKINS");
|
||||||
if (skins != null) {
|
|
||||||
for (String skinClass: skins) {
|
for (String skinClass: skins) {
|
||||||
Class<? extends VisualizerSkin> skin = gui.tryLoadClass(this, VisualizerSkin.class, skinClass);
|
Class<? extends VisualizerSkin> skin = gui.tryLoadClass(this, VisualizerSkin.class, skinClass);
|
||||||
if (registerVisualizerSkin(skin)) {
|
if (registerVisualizerSkin(skin)) {
|
||||||
logger.info("Registered external visualizer: " + skinClass);
|
logger.info("Registered external visualizer: " + skinClass);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue