Skip to content

Commit

Permalink
Added more doc
Browse files Browse the repository at this point in the history
  • Loading branch information
litetex committed Jun 20, 2021
1 parent 32ca312 commit 9316f1f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ public class YoutubeCommentsExtractor extends CommentsExtractor {
private String ytClientName;
private String responseBody;

/**
* Caching mechanism and holder of the commentsDisabled value.
* <br/>
* Initial value = empty -> unknown if comments are disabled or not<br/>
* Some method calls {@link YoutubeCommentsExtractor#findInitialCommentsToken()}
* -> value is set<br/>
* If the method or another one that is depending on disabled comments
* is now called again, the method execution can avoid unnecessary calls
*/
private Optional<Boolean> optCommentsDisabled = Optional.empty();

public YoutubeCommentsExtractor(
Expand Down

0 comments on commit 9316f1f

Please sign in to comment.