OSDN Git Service

過去ログ取得時点をConverterコンストラクタ引数からProfileに移動
[coroid/inqubus.git] / frontend / src / saccubus / converter / Converter.java
index 2f7506e..84c934f 100644 (file)
@@ -27,7 +27,6 @@ public class Converter extends AbstractCommand implements Callable<Boolean> {
 
     private final Profile profile;
     private final String movieId;
-    private final String time;
 
     /**
      * コンバータを構築します.
@@ -37,7 +36,7 @@ public class Converter extends AbstractCommand implements Callable<Boolean> {
      * @param listener
      * @param flag
      */
-    public Converter(String url, String time, Profile profile,
+    public Converter(String url, Profile profile,
             TextProgressListener listener, ConvertStopFlag flag) {
         super(listener, flag);
 
@@ -52,7 +51,6 @@ public class Converter extends AbstractCommand implements Callable<Boolean> {
             throw new IllegalArgumentException("URL/IDの指定が不正です: " + url);
         }
 
-        this.time = time;
         this.profile = profile;
     }
 
@@ -165,7 +163,7 @@ public class Converter extends AbstractCommand implements Callable<Boolean> {
                 profile.getCommentSetting());
 
         fi = FileInstanciator.create(getStopFlag(), videoType, commentType, tcommType, profile.getLoginInfo(), profile.
-                getProxySetting(), movieId, time);
+                getProxySetting(), movieId, profile.getCommentSetting().getBackLogPoint());
         return fi;
     }