Skip to content

Commit 6633f26

Browse files
authored
Merge pull request #386 from mhmdanas/remove-subtitles-stream-get-url
Remove SubtitlesStream#getURL()
2 parents 070cd92 + 1a63dcb commit 6633f26

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
public class SubtitlesStream extends Stream implements Serializable {
99
private final MediaFormat format;
1010
private final Locale locale;
11-
private final String url;
1211
private final boolean autoGenerated;
1312
private final String code;
1413

@@ -34,18 +33,13 @@ public SubtitlesStream(MediaFormat format, String languageCode, String url, bool
3433
}
3534
this.code = languageCode;
3635
this.format = format;
37-
this.url = url;
3836
this.autoGenerated = autoGenerated;
3937
}
4038

4139
public String getExtension() {
4240
return format.suffix;
4341
}
4442

45-
public String getURL() {
46-
return url;
47-
}
48-
4943
public boolean isAutoGenerated() {
5044
return autoGenerated;
5145
}

0 commit comments

Comments
 (0)