code lint
This commit is contained in:
parent
cb4b20af45
commit
f6974e8315
21 changed files with 149 additions and 141 deletions
|
|
@ -58,6 +58,7 @@ public class VideoInfo extends AbstractVideoInfo {
|
|||
|
||||
/**Creates a new VideoInfo object from an existing AbstractVideoInfo.
|
||||
* All the shared properties are copied to the new VideoInfo.*/
|
||||
@SuppressWarnings("WeakerAccess")
|
||||
public VideoInfo(AbstractVideoInfo avi) {
|
||||
this.id = avi.id;
|
||||
this.title = avi.title;
|
||||
|
|
@ -76,7 +77,6 @@ public class VideoInfo extends AbstractVideoInfo {
|
|||
int seconds = Integer.parseInt(dur.substring(dur.indexOf(":")+1, dur.length()));
|
||||
this.duration = (minutes*60)+seconds;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class VideoStream {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue