Mark uploaderUrl as nullable.

This commit is contained in:
Kavin 2022-10-30 13:36:04 +00:00
parent 6a256d0631
commit b441910257
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}