From 47ad8b843cbf337d44b0118a358cbe65bb846ea9 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 8 Aug 2016 15:12:57 +0800 Subject: [PATCH] Remove dead code --- source/net/filebot/ui/rename/BindingDialog.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/source/net/filebot/ui/rename/BindingDialog.java b/source/net/filebot/ui/rename/BindingDialog.java index 9fd6d686..a9e96d45 100644 --- a/source/net/filebot/ui/rename/BindingDialog.java +++ b/source/net/filebot/ui/rename/BindingDialog.java @@ -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();