Commit Graph

11 Commits (97d1d416cea2e9071a3dcb443b777df21b1ad4bd)

Author SHA1 Message Date
Wouter Born ef523642a9
Cleanup Java code (#2263)
This cleanup includes:

* Fix deprecations
* Fix JavaDocs
* Remove redundant toString calls
* Remove redundant semicolons
* Simplify boolean expressions
* Use diamond operator
* Use enhanced for loops
* Use instanceof pattern matching
* Use isEmpty instead of 0 comparisons
* Use lambdas
* Use static inner classes
* Use StandardCharsets

Also adds the SA_LOCAL_SELF_COMPARISON suppression similar as used in
other repositories for https://github.com/spotbugs/spotbugs/issues/1992.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-17 19:10:16 +01:00
Wouter Born afdfa01b07
Update license headers to 2024 (#2254)
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-03 21:17:55 +01:00
Wouter Born c8c3b8c113
Update license headers to 2023 (#1624)
Signed-off-by: Wouter Born <github@maindrain.net>
2023-01-06 09:51:00 +01:00
Wouter Born eab99f0bfc
Update license headers to 2022 (#1266)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-01-08 20:57:16 +01:00
Wouter Born abcc52e7cc
Update license headers to 2021 (#739)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 00:00:39 +01:00
Wouter Born 937cf2456c
Infra improvements (#240)
* Update to SAT 0.10.0
* Add sortpom-maven-plugin configuration
* Sort POMs
* Add spotless-maven-plugin configuration
* Apply Spotless changes

Signed-off-by: Wouter Born <github@maindrain.net>
2020-05-08 21:33:24 +02:00
Wouter Born 553c4b4deb Update copyright headers to 2020 (#161)
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-01 18:04:49 +01:00
Wouter Born 7a9ac42a42 Update SAT currentVersionRegex for 3.0.0 (#151)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-12-29 12:31:37 +01:00
Kai Kreuzer 0d51db2b54
Removed Paper UI, Classic UI and HABmin (#154)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2019-12-29 12:31:13 +01:00
Wouter Born a45c187018 Use SAT 0.7.0, fix errors and feature file warning (#131)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-21 22:39:10 +02:00
Wouter Born 671f926883 Resolve SAT errors (#36)
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-14 20:20:40 +01:00