Wouter Born
6cf048434b
Replace Markdown backticks with JavaDoc code tags ( #4023 )
...
* Replace Markdown backticks with JavaDoc code tags
The proper way to format code with JavaDoc is using code tags and not Markdown backticks.
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-20 09:56:41 +01:00
Wouter Born
c757819a15
Fix JavaDoc issues ( #4004 )
...
Fixes various issues including wrong parameter names, references, links and dangling JavaDocs.
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-04 00:03:48 +01:00
Wouter Born
2babea4c9a
Update license headers to 2024 ( #4011 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2024-01-03 21:20:34 +01:00
Wouter Born
e8e1c9fe73
Simplify code that creates List, Map and Set objects ( #3836 )
...
Simplifies the code by using List.of, List.copyOf etc. where possible which results in less code and imports.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-09 18:00:00 +02:00
J-N-K
8d64ecfd8d
Update license header to 2023 ( #3294 )
...
* Update license header to 2023
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-03 09:45:42 +01:00
Wouter Born
7888da1684
Fix some recently introduced SAT and NPE issues ( #3251 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-22 15:11:49 +01:00
Cody Cutrer
e86f388a5b
Implement command completion in console for openhab command ( #3111 )
...
* Implement command completion in console for openhab command
And subcommands can implement it if they want. At the least the
CommandConsoleExtension's description will now be visible in
tab-completion.
I've also implemented detailed completion for openhab:items,
openhab:status, openhab:send, and openhab:update.
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-22 10:52:31 +02:00
J-N-K
453857770a
Fix grep console not working ( #3012 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-22 22:38:48 +02:00
J-N-K
b52d9f2e4f
Fix "openhab --help" and "help openhab" in Karaf console ( #2953 )
...
* Enable "openhab --help" and "help openhab" in Karaf console
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-05-16 22:39:45 +02:00
J-N-K
910047355c
Fix console extension output to wrong console ( #2961 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-05-16 22:35:20 +02:00
Wouter Born
ad936cd83f
Add more null annotations ( #2742 )
...
* Add more null annotations
* Fix mock name
Adds null annotations to most of the tests as well as a few other classes.
Also fixes a few other SAT findings.
Fixes ~300 SAT findings in total.
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-14 11:33:50 +01:00
Christoph Weitkamp
cabb3f7315
Update license headers to 2022 ( #2671 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-07 13:16:42 +01:00
Wouter Born
bf81eaa1c2
Fix/suppress PMD CompareObjectsWithEquals findings ( #2548 )
...
Newer PMD versions discover more CompareObjectsWithEquals findings.
Related to https://github.com/openhab/static-code-analysis/pull/423
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-30 19:37:34 +02:00
Wouter Born
774b9d607b
Update license headers to 2021 ( #2041 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-01 16:43:46 +01:00
Wouter Born
86b02c26be
Use "openhab" console scope ( #1586 )
...
Fixes #1566
Signed-off-by: Wouter Born <github@maindrain.net>
2020-08-11 20:38:24 +02:00
Christoph Weitkamp
178ffdf9c2
Removed some ESH leftovers ( #1468 )
...
* Removed ESH leftovers
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2020-05-11 08:41:12 +02:00
Wouter Born
61e17ce39e
Upgrade SAT and Spotless, apply Spotless and enable check ( #1446 )
...
* Update SAT and Spotless dependencies
* Apply Spotless and enable check
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-26 11:15:24 +02:00
Wouter Born
92027ca922
Use .equals() on constants and literals to prevent NPEs ( #1420 )
...
* Use .equals() on constants and literals to prevent NPEs
Signed-off-by: Wouter Born <github@maindrain.net>
2020-04-16 07:40:49 +02:00
Wouter Born
3811cb9560
Update copyright headers to 2020 ( #1309 )
...
* Update copyright headers to 2020
Signed-off-by: Wouter Born <github@maindrain.net>
2020-01-01 18:06:34 +01:00
Christoph Weitkamp
59675788e0
Renamed packages
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
Christoph Weitkamp
fca7c215a5
Moved files to new location
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-12-28 12:18:16 +01:00
Wouter Born
3d52c72a91
Fix SAT AuthorContributionDescriptionCheck findings ( #1110 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-10 11:36:05 +02:00
Wouter Born
12b3c1030f
Fix SAT "Initial contribution" warnings ( #1100 )
...
Fixes the SAT warning: First javadoc author should have "Initial contribution" contribution description.
Signed-off-by: Wouter Born <github@maindrain.net>
2019-10-07 21:25:40 -07:00
Christoph Weitkamp
8d51cf9e37
Use constructor injection to simplify lifecycle ( #1038 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2019-09-17 19:17:59 +02:00
Markus Rathgeb
bba6df5372
add printf for console ( #793 )
...
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-05-09 08:29:56 +02:00
Wouter Born
48d873a32b
Use openHAB license headers ( #632 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2019-03-06 16:10:00 +01:00
Markus Rathgeb
a37cceab67
mavenize openHAB and integrate mavenized ESH repository ( #467 )
...
* mavenize openHAB and integrate mavenized ESH repository
Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2019-01-28 13:07:31 +01:00