* remove unused option

This commit is contained in:
Reinhard Pointner 2014-07-16 12:12:39 +00:00
parent 581bd3bdb9
commit aa5c7b3088
1 changed files with 0 additions and 6 deletions

View File

@ -53,7 +53,6 @@ import net.filebot.cli.ArgumentProcessor;
import net.filebot.cli.CmdlineOperations; import net.filebot.cli.CmdlineOperations;
import net.filebot.format.ExpressionFormat; import net.filebot.format.ExpressionFormat;
import net.filebot.gio.GVFS; import net.filebot.gio.GVFS;
import net.filebot.media.MediaDetection;
import net.filebot.ui.MainFrame; import net.filebot.ui.MainFrame;
import net.filebot.ui.PanelBuilder; import net.filebot.ui.PanelBuilder;
import net.filebot.ui.SinglePanelFrame; import net.filebot.ui.SinglePanelFrame;
@ -235,11 +234,6 @@ public class Main {
Logger.getLogger(Main.class.getName()).log(Level.WARNING, "Failed to check for updates", e); Logger.getLogger(Main.class.getName()).log(Level.WARNING, "Failed to check for updates", e);
} }
} }
// pre-load certain resources in the background
if (Boolean.parseBoolean(System.getProperty("application.warmup"))) {
MediaDetection.warmupCachedResources();
}
} catch (Exception e) { } catch (Exception e) {
// illegal arguments => just print CLI error message and stop // illegal arguments => just print CLI error message and stop
System.err.println(e.getMessage()); System.err.println(e.getMessage());