From f0f1c009b26fc7b8395cef7511d2a28e8591a578 Mon Sep 17 00:00:00 2001 From: mhmdanas <32234660+mhmdanas@users.noreply.github.com> Date: Mon, 10 Aug 2020 19:28:56 +0300 Subject: [PATCH 1/2] Remove SubtitlesStream#getURL() --- .../org/schabi/newpipe/extractor/stream/SubtitlesStream.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java index 8f16942e3..c2b542c85 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java @@ -42,10 +42,6 @@ public class SubtitlesStream extends Stream implements Serializable { return format.suffix; } - public String getURL() { - return url; - } - public boolean isAutoGenerated() { return autoGenerated; } From 1a63dcb3554ed2e040bcc2c6ef13118a5c3ac8b9 Mon Sep 17 00:00:00 2001 From: mhmdanas <32234660+mhmdanas@users.noreply.github.com> Date: Wed, 12 Aug 2020 22:37:36 +0300 Subject: [PATCH 2/2] Remove overriden field `url` --- .../org/schabi/newpipe/extractor/stream/SubtitlesStream.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java index c2b542c85..fe3b441e9 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/stream/SubtitlesStream.java @@ -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; }