mirror of
https://github.com/TeamNewPipe/NewPipeExtractor
synced 2025-08-31 06:15:37 +00:00
Add comment for usage of YoutubeParsingHelper.resetClientVersionAndKey
This commit is contained in:
@@ -353,6 +353,11 @@ public class YoutubeParsingHelper {
|
|||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Only use in tests.
|
||||||
|
*
|
||||||
|
* Quick-and-dirty solution to reset global state in between test classes.
|
||||||
|
*/
|
||||||
static void resetClientVersionAndKey() {
|
static void resetClientVersionAndKey() {
|
||||||
clientVersion = null;
|
clientVersion = null;
|
||||||
key = null;
|
key = null;
|
||||||
|
Reference in New Issue
Block a user