mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-27 23:40:36 +05:30
Fix checkstyle
This commit is contained in:
parent
1ca8275419
commit
f7adeeff90
@ -234,10 +234,11 @@ final class YoutubeThrottlingParameterUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes an early return statement from the code of the throttling parameter deobfuscation function.
|
||||
* Removes an early return statement from the code of the throttling parameter deobfuscation
|
||||
* function.
|
||||
*
|
||||
* <p>In newer version of the player code the function contains a check for something defined outside of the function.
|
||||
* If that was not found it will return early.
|
||||
* <p>In newer version of the player code the function contains a check for something defined
|
||||
* outside of the function. If that was not found it will return early.
|
||||
*
|
||||
* <p>The check can look like this (JS):<br>
|
||||
* if(typeof RUQ==="undefined")return p;
|
||||
@ -247,7 +248,8 @@ final class YoutubeThrottlingParameterUtils {
|
||||
* For that reason this check and return statement needs to be removed.
|
||||
*
|
||||
* @param function the original throttling parameter deobfuscation function code
|
||||
* @return the throttling parameter deobfuscation function code with the early return statement removed
|
||||
* @return the throttling parameter deobfuscation function code with the early return statement
|
||||
* removed
|
||||
*/
|
||||
@Nonnull
|
||||
private static String fixupFunction(@Nonnull final String function)
|
||||
|
Loading…
x
Reference in New Issue
Block a user