Skip to content

Commit 6dbef5f

Browse files
StreamInfo Remove redundant variable initialization
1 parent 27d3e7c commit 6dbef5f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ private static void extractOptionalData(final StreamInfo streamInfo,
352352
private String uploaderUrl = "";
353353
@Nonnull
354354
private List<Image> uploaderAvatars = List.of();
355-
private boolean uploaderVerified = false;
355+
private boolean uploaderVerified;
356356
private long uploaderSubscriberCount = -1;
357357

358358
private String subChannelName = "";
@@ -368,19 +368,19 @@ private static void extractOptionalData(final StreamInfo streamInfo,
368368
private String hlsUrl = "";
369369
private List<InfoItem> relatedItems = List.of();
370370

371-
private long startPosition = 0;
371+
private long startPosition;
372372
private List<SubtitlesStream> subtitles = List.of();
373373

374374
private String host = "";
375375
private StreamExtractor.Privacy privacy;
376376
private String category = "";
377377
private String licence = "";
378378
private String supportInfo = "";
379-
private Locale language = null;
379+
private Locale language;
380380
private List<String> tags = List.of();
381381
private List<StreamSegment> streamSegments = List.of();
382382
private List<MetaInfo> metaInfo = List.of();
383-
private boolean shortFormContent = false;
383+
private boolean shortFormContent;
384384

385385
/**
386386
* Preview frames, e.g. for the storyboard / seekbar thumbnail preview

0 commit comments

Comments
 (0)