]> git.basschouten.com Git - openhab-addons.git/commit
[homematic] Provide additional null pointer checks (#10965)
authorMartin Herbst <develop@mherbst.de>
Thu, 15 Jul 2021 17:46:29 +0000 (19:46 +0200)
committerGitHub <noreply@github.com>
Thu, 15 Jul 2021 17:46:29 +0000 (19:46 +0200)
commitb043d8f4bc2beb169f11a7beec0b4699b595e549
treea42c3e59a10b26419257172f5403fb138fa8d017
parent03d9281c0b4634e5844fc28f907110a2be154e44
[homematic] Provide additional null pointer checks (#10965)

* Fixed a rare NPE introduced while replacing commons-lang
* Provide additional null pointer checks

It is possible that the meta data returned for some device does not
contain a default or maximum value.

Fixes #10945
Fixes #10961

Signed-off-by: Martin Herbst <develop@mherbst.de>
bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/type/HomematicTypeGeneratorImpl.java