]> git.basschouten.com Git - openhab-addons.git/commit
[harmonyhub] Fix reliability issues (#13702)
authorJacob Laursen <jacob-github@vindvejr.dk>
Thu, 17 Nov 2022 19:48:28 +0000 (20:48 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Nov 2022 19:48:28 +0000 (20:48 +0100)
commitea49488b866870b50d770acbe412bfe4b453bf8d
tree1dfe3ee1dcc7d4a11f068a583c453d7e90911a93
parentb6f9f6339e3ef7ec6389f35bbd50148572f86351
[harmonyhub] Fix reliability issues (#13702)

* Fix compiler info

Unsafe interpretation of method return type as '@NonNull' based on the receiver type 'java.util.Enumeration<java.net.@NonNull NetworkInterface>'. Type 'java.util.Enumeration<E>' doesn't seem to be designed with null type annotations in mind

* Improve robustness of job rescheduling and handler disposal

Handler tried updating thing although the handler was already disposed

Fixes #13701

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
bundles/org.openhab.binding.harmonyhub/src/main/java/org/openhab/binding/harmonyhub/internal/discovery/HarmonyHubDiscoveryService.java
bundles/org.openhab.binding.harmonyhub/src/main/java/org/openhab/binding/harmonyhub/internal/handler/HarmonyHubHandler.java