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:
parent
d60203c873
commit
47ad8b843c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user