Remove dead code

This commit is contained in:
Reinhard Pointner 2016-08-08 15:12:57 +08:00
parent d60203c873
commit 47ad8b843c
1 changed files with 0 additions and 14 deletions

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();