OSDN Git Service

インタフェースを再考
[coroid/inqubus.git] / frontend / src / saccubus / net / NicoClientImpl.java
index 5928376..03d6590 100644 (file)
@@ -80,22 +80,6 @@ public class NicoClientImpl implements NicoClient {
        }
 
     @Override
-       public String getBackCommentFromLength(VideoInfo vi, String def) {
-        final int videoLength  = vi.getVideoLength();
-               if (videoLength < 0) {
-                       return def;
-               } else if (videoLength >= 0 && videoLength < 60) {
-                       return "100";
-               } else if (videoLength >= 60 && videoLength < 300) {
-                       return "250";
-               } else if (videoLength >= 300 && videoLength < 600) {
-                       return "500";
-               } else {
-                       return "1000";
-               }
-       }
-
-    @Override
     public File getComment(VideoInfo vi, final File file, final TextProgressListener status, String back_comment) {
         return downloadComment(back_comment, file, vi, status, false);
     }