Merge pull request #386 from mhmdanas/remove-subtitles-stream-get-url

Remove SubtitlesStream#getURL()
This commit is contained in:
Tobias Groza 2020-08-26 21:32:36 +02:00 committed by GitHub
commit 6633f26ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,6 @@ import java.util.Locale;
public class SubtitlesStream extends Stream implements Serializable {
private final MediaFormat format;
private final Locale locale;
private final String url;
private final boolean autoGenerated;
private final String code;
@ -34,7 +33,6 @@ public class SubtitlesStream extends Stream implements Serializable {
}
this.code = languageCode;
this.format = format;
this.url = url;
this.autoGenerated = autoGenerated;
}
@ -42,10 +40,6 @@ public class SubtitlesStream extends Stream implements Serializable {
return format.suffix;
}
public String getURL() {
return url;
}
public boolean isAutoGenerated() {
return autoGenerated;
}