deleted unneeded if

getStringArrayValue never returns null
This commit is contained in:
Sebastian Schinabeck 2013-11-15 19:39:46 +01:00
parent 79f97981fb
commit 4deb687209

View file

@ -212,14 +212,13 @@ public class Visualizer extends VisPlugin implements HasQuickHelp {
/* Register external visualizers */
String[] skins = gui.getProjectConfig().getStringArrayValue(Visualizer.class, "SKINS");
if (skins != null) {
for (String skinClass: skins) {
Class<? extends VisualizerSkin> skin = gui.tryLoadClass(this, VisualizerSkin.class, skinClass);
if (registerVisualizerSkin(skin)) {
logger.info("Registered external visualizer: " + skinClass);
}
}
}
/* Menus */