Add comment for usage of YoutubeParsingHelper.resetClientVersionAndKey
This commit is contained in:
parent
4af50c6870
commit
6ca7123d5d
|
@ -353,6 +353,11 @@ public class YoutubeParsingHelper {
|
|||
return key;
|
||||
}
|
||||
|
||||
/**
|
||||
* Only use in tests.
|
||||
*
|
||||
* Quick-and-dirty solution to reset global state in between test classes.
|
||||
*/
|
||||
static void resetClientVersionAndKey() {
|
||||
clientVersion = null;
|
||||
key = null;
|
||||
|
|
Loading…
Reference in New Issue