1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 00:15:02 -04:00

Remove dead code

This commit is contained in:
Reinhard Pointner 2016-08-08 15:12:57 +08:00
parent d60203c873
commit 47ad8b843c

View File

@ -220,20 +220,6 @@ class BindingDialog extends JDialog {
}
private void finish(boolean submit) {
if (submit) {
// illegal episode string
if (getInfoObject() == null) {
log.warning(format("Failed to import object: '%s'", infoTextField.getText()));
return;
}
// illegal file path
if (getMediaFile() == null) {
log.warning(format("Invalid media file: '%s'", mediaFileTextField.getText()));
return;
}
}
// cancel background evaluators
this.submit = submit;
this.bindingModel.executor.shutdownNow();