Jacob Laursen
92145428df
Update license headers to 2024 ( #16168 )
...
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
2025-01-02 09:48:23 +02:00
Wouter Born
c58d894bf0
Use OnOffType.from
to reduce code ( #16101 )
...
You can create an `OnOffType` using a boolean nowadays which reduces the amount of code.
Signed-off-by: Wouter Born <github@maindrain.net>
2023-12-23 19:06:21 +01:00
Holger Friedrich
cbf4411034
Improve javadoc for all addons ( #15667 )
...
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-30 21:49:12 +02:00
Holger Friedrich
cf10b3e9c7
Java 17 features (A-G) ( #15516 )
...
- add missing @override
- Java style array syntax
- remove redundant modifiers
- always move String constants to left side in comparisons
- simplify lambda expressions and return statements
- use replace instead of replaceAll w/o regex
- instanceof matching and multiline strings
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-09-05 22:30:16 +02:00
Wouter Born
83cbe746d0
Remove redundant modifiers from interfaces ( #14843 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2023-04-18 13:07:04 +02:00
Mark Hilbush
1983bc36f1
Replace deprecated MulticastSocket methods ( #14611 )
...
* Replace deprecated methods
* Call leaveGroup method in shutdown
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-28 15:14:30 +02:00
Mark Hilbush
ec78fe7428
Add connection element to addon.xml ( #14692 )
...
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-27 23:08:31 +02:00
Mark Hilbush
d4b68b2df4
Fix for NPE when getting network interface name ( #14603 )
...
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-14 22:32:03 +01:00
J-N-K
89d0689e36
fix i18n for bindings ( #14235 )
...
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
J-N-K
5f8214f08a
Adapt to core changes (addon.xml) ( #13289 )
...
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Holger Friedrich
4e44de3894
Fix SAT warnings ( #14202 )
...
* Fix SAT warnings
- checkstyle.ModifierOrderCheck
- checkstyle.OneStatementPerLineCheck
- checkstyle.NeedBracesCheck
- PMD.UseStandardCharsets
- PMD.UseCollectionIsEmpty
- PMD.UnusedLocalVariable
- PMD.SimplifyBooleanReturns where reasonable, suppress where
readability is better without change
- PMD.SimplifyBooleanExpressions
* Include StandardCharsets
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-01-13 08:11:06 +01:00
Jacob Laursen
4dd6d3a8a2
Update license headers to 2023 ( #14154 )
...
* Update copyright year in configuration
* Update license headers
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
Mark Hilbush
4182595c19
Fix NPE when reading reply from device ( #12956 )
...
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-18 21:00:01 +02:00
Hilbrand Bouwkamp
da59cdd255
Update license headers to 2022 ( #11973 )
...
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
Christoph Weitkamp
167f8ebc49
Avoid UnsupportedEncodingException & use const from StandardCharsets ( #11948 )
...
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-03 16:05:08 +01:00
Wouter Born
07a1976c81
Add default translations for binding add-ons ( #11760 )
...
* Add default translations for binding add-ons
This makes the texts used by these add-ons translatable with Crowdin.
To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.
There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.
Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-15 18:40:21 +01:00
Wouter Born
f3503430b4
Rework more commons-lang usages ( #10314 )
...
* Reworks many commons-lang usages to use standard Java
* Updates all remaining commons.lang imports to commons.lang3
Related to openhab/openhab-addons#7722
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-16 12:38:16 +01:00
Wouter Born
d6364aceb1
Update license headers to 2021 ( #9620 )
...
Signed-off-by: Wouter Born <github@maindrain.net>
2021-01-02 22:03:14 +01:00
Mark Hilbush
e648fc6c8c
[globalcache] Add representation property ( #9471 )
...
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2020-12-22 14:07:25 -08:00
Kai Kreuzer
007c3b56e5
removed deprecated author information from binding.xml ( #9113 )
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-11-23 19:06:33 -08:00
Hilbrand Bouwkamp
003c3af985
Remove immediate = true from all Components ( #8615 )
...
We recommend not to use this on add-ons.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2020-10-01 20:27:01 -07:00
Kai Kreuzer
6df6783b60
added migrated 2.x add-ons
...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00