Do some code improvements

Use final where possible, annotate some methods and parameters as Nonnull and format new code to be in the 100 characters limit per line.
This commit is contained in:
TiA4f8R
2021-07-27 17:24:27 +02:00
parent 1c30a2725e
commit 32055147e0
4 changed files with 51 additions and 32 deletions

View File

@@ -38,7 +38,7 @@ public class YoutubeJavaScriptExtractorTest {
}
private void assertPlayerJsCode(String playerJsCode) {
private void assertPlayerJsCode(final String playerJsCode) {
assertThat(playerJsCode, allOf(
containsString(" Copyright The Closure Library Authors.\n"
+ " SPDX-License-Identifier: Apache-2.0"),