Commit graph

21 commits

Author SHA1 Message Date
Manuel Fuhr
dd896347a2 Fix newly detected violations from PMD 7 2024-04-03 22:42:30 +02:00
Manuel Fuhr
2f7ce42480 Upgrade to PMD 7.0.0 and disable violated rules 2024-04-03 22:36:30 +02:00
Manuel Fuhr
28f205c1ad Enable PMD rule PrimitiveWrapperInstantiation and fix violations 2023-05-09 23:11:14 +02:00
Manuel Fuhr
7a6d3bd9d9 Enable PMD rule UseDiamondOperator and fix violations 2023-05-09 23:11:14 +02:00
Manuel Fuhr
2e1722150c Collect rules similar to Android Studio inspections 2023-05-09 23:11:14 +02:00
Manuel Fuhr
49295eb850 Enable PMD rule LogicInversion and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
41d25cd523 Enable PMD rule SimplifyBooleanReturns and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
5f942cc458 Enable PMD rule UnnecessaryModifier and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
b68f1587b2 Enable PMD rule UnnecessaryFullyQualifiedName and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
b1a88b01ab Enable PMD rule SimplifiableTestAssertion and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
09a9c1a104 Enable PMD rule SimplifiedTernary and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
a07fc132d2 Enable PMD rule SingularField and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
3b77f93c00 Enable PMD rule UnnecessaryReturn and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
1bff48b649 Enable PMD rule AvoidInstanceofChecksInCatchClause and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
30be64cbbe Enable PMD rule LooseCoupling and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
c75a8cb703 Enable PMD rule UnnecessaryImport and fix violations 2022-11-14 22:06:18 +01:00
Manuel Fuhr
9d0703f898 Add PMD and enable quickstart ruleset
PMD allows checking code for violation and quickstart provides a ruleset
which are "rules that are most likely to apply everywhere". Violated
rules are disabled to get started.
2022-11-14 22:03:47 +01:00
Manuel Fuhr
6f6d99b3e3 Stricter whitespace handling 2022-11-09 07:29:53 +01:00
Manuel Fuhr
4e0dcbd0bf Adapt checkstyle rules and disable suppressions 2022-07-25 06:15:47 +02:00
Manuel Fuhr
f18cded3a7 Enable checkstyle checks
Basic indention / formatting checks but suppressed for most modules
because they currently fail the checks.
2022-07-09 07:52:40 +02:00
Manuel Fuhr
c80e34fdc5 Add checkstyle 2022-07-09 07:38:04 +02:00