From b441910257a421472edd0874594a1c528819e42a Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Sun, 30 Oct 2022 13:36:04 +0000 Subject: [PATCH] Mark uploaderUrl as nullable. --- .../schabi/newpipe/extractor/playlist/PlaylistInfoItem.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/playlist/PlaylistInfoItem.java b/extractor/src/main/java/org/schabi/newpipe/extractor/playlist/PlaylistInfoItem.java index 967fef08..852a1819 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/playlist/PlaylistInfoItem.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/playlist/PlaylistInfoItem.java @@ -2,6 +2,8 @@ package org.schabi.newpipe.extractor.playlist; import org.schabi.newpipe.extractor.InfoItem; +import javax.annotation.Nullable; + public class PlaylistInfoItem extends InfoItem { private String uploaderName; @@ -25,11 +27,12 @@ public class PlaylistInfoItem extends InfoItem { this.uploaderName = uploaderName; } + @Nullable public String getUploaderUrl() { return uploaderUrl; } - public void setUploaderUrl(final String uploaderUrl) { + public void setUploaderUrl(@Nullable final String uploaderUrl) { this.uploaderUrl = uploaderUrl; }