OSDN Git Service

TODO解消
authoryukihane <yukihane.feather@gmail.com>
Tue, 6 Sep 2011 11:18:11 +0000 (20:18 +0900)
committeryukihane <yukihane.feather@gmail.com>
Fri, 9 Sep 2011 11:44:29 +0000 (20:44 +0900)
frontend/src/saccubus/worker/impl/download/Download.java
frontend/src/yukihane/inqubus/gui/MainFrame.java

index eeecf1a..682cc30 100644 (file)
@@ -133,30 +133,6 @@ public class Download extends Worker<DownloadResult, DownloadProgress> {
         return (profile.getVideoProfile().isDownload() || profile.getCommentProfile().isDownload());
     }
 
-    // TODO どこかに処理を移す必要がある.
-    /**
-     * (ネットワーク設定以外の)設定を検証する.
-     * @throws IllegalArgumentException 設定に不備がある場合.
-     */
-//    private void validSetting() {
-//        if (profile.getOutputFileSetting().isConvert()) {
-//            File a = profile.getFfmpeg().getFfmpeg();
-//            if (!a.canRead()) {
-//                throw new IllegalArgumentException("FFmpegが見つかりません。");
-//            }
-//            if (profile.getFfmpeg().getVhook().getPath().indexOf(' ') >= 0) {
-//                throw new IllegalArgumentException("すいません。現在vhookライブラリには半角空白は使えません。");
-//            }
-//            a = profile.getFfmpeg().getVhook();
-//            if (!a.canRead()) {
-//                throw new IllegalArgumentException("Vhookライブラリが見つかりません。");
-//            }
-//            a = profile.getFfmpeg().getFont();
-//            if (!a.canRead()) {
-//                throw new IllegalArgumentException("フォントが見つかりません。");
-//            }
-//        }
-//    }
     /**
      * HttpClientを生成し, ニコニコ動画サーバへログインします.
      * @return 生成したHttpClientインスタンス.
index 19d8170..6454553 100644 (file)
@@ -738,7 +738,6 @@ public class MainFrame extends JFrame {
         menuBar.add(mnTool);
 
         final JMenuItem itOption = new JMenuItem("オプション(O)...", KeyEvent.VK_O);
-        // TODO ショートカットキー
         itOption.addActionListener(new ActionListener() {
 
             @Override