Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Stypox committed Jan 26, 2025
1 parent 1ca8275 commit f7adeef
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,11 @@ private static String validateFunction(@Nonnull final String function) {
}

/**
* 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;
Expand All @@ -247,7 +248,8 @@ private static String validateFunction(@Nonnull final String function) {
* 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)
Expand Down

0 comments on commit f7adeef

Please sign in to comment.