OSDN Git Service

コメント追加
authoryukihane <yukihane.feather@gmail.com>
Mon, 15 Aug 2011 03:16:23 +0000 (12:16 +0900)
committeryukihane <yukihane.feather@gmail.com>
Mon, 15 Aug 2011 05:46:27 +0000 (14:46 +0900)
src/nicobrowser/NicoHttpClient.java
src/nicobrowser/VideoInfo.java

index 41c3482..667a3e5 100644 (file)
@@ -855,7 +855,6 @@ public class NicoHttpClient {
         leaf.put("thread", vi.getThreadId());
         leaf.put("user_id", vi.getUserId());
 
-        // TODO videoLengh は秒数が入っているんだっけ?
         final int length = (int) Math.ceil(vi.getVideoLength() / 60.0);
         final String element = "0-" + length + ":100," + vi.getResFrom();
 
index 3857725..15c9134 100644 (file)
@@ -75,6 +75,7 @@ public class VideoInfo {
         return userId;
     }
 
+    /** @return 再生時間(秒) */
     public int getVideoLength() {
         return videoLength;
     }