Update checkstyle to 10.0 and fix various related issues

- Put checkstyle files into checkstyle/ subfolder so that the gradle task does not implicitly depend on the whole project, fixing many warnings during build and possibly increasing build performance.
- Remove unused SuppressionXpathFilter from config file.
- Remove outdated suppressions from suppressions file.
This commit is contained in:
Stypox 2022-03-18 19:58:59 +01:00
parent 37712a94cb
commit b1690ca60d
3 changed files with 3 additions and 18 deletions

View file

@ -1,27 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress checks="FinalParameters"
files="LocalItemListAdapter.java"
lines="232,304"/>
<suppress checks="FinalParameters"
files="InfoListAdapter.java"
lines="253,325"/>
<suppress checks="EmptyBlock"
files="ContentSettingsFragment.java"
lines="227,245"/>
<suppress checks="LineLength"
files="WebMWriter.java"
lines="156,158"/>
<suppress checks="FileLength"
files="Player.java"/>
<suppress checks="FileLength"
files="VideoDetailFragment.java"/>
</suppressions>