]> git.basschouten.com Git - openhab-addons.git/commit
[openweathermap] Fix `NullPointerException` (#17189)
authorlsiepel <leosiepel@gmail.com>
Sun, 8 Sep 2024 19:26:59 +0000 (21:26 +0200)
committerGitHub <noreply@github.com>
Sun, 8 Sep 2024 19:26:59 +0000 (21:26 +0200)
commit1e007cd3050e6f27d34b607cca6a6439d899d74f
treeb01e21bb8daf54a363b13bb1bb8e48259bbe5504
parent52cc1950566ccbd8b0cb782c0399415476777dda
[openweathermap] Fix `NullPointerException` (#17189)

* Fix compilation warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
19 files changed:
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/OpenWeatherMapBindingConstants.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/config/OpenWeatherMapAPIConfiguration.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/config/OpenWeatherMapAirPollutionConfiguration.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/config/OpenWeatherMapLocationConfiguration.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/config/OpenWeatherMapOneCallConfiguration.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/config/OpenWeatherMapWeatherAndForecastConfiguration.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/connection/OpenWeatherMapConnection.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/dto/OpenWeatherMapOneCallHistAPIData.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/dto/base/Precipitation.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/handler/AbstractOpenWeatherMapHandler.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/handler/OpenWeatherMapAirPollutionHandler.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/handler/OpenWeatherMapOneCallHandler.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/handler/OpenWeatherMapOneCallHistoryHandler.java
bundles/org.openhab.binding.openweathermap/src/main/java/org/openhab/binding/openweathermap/internal/handler/OpenWeatherMapWeatherAndForecastHandler.java
bundles/org.openhab.binding.openweathermap/src/test/java/org/openhab/binding/openweathermap/internal/DataUtil.java [new file with mode: 0644]
bundles/org.openhab.binding.openweathermap/src/test/java/org/openhab/binding/openweathermap/internal/TestObjectsUtil.java [new file with mode: 0644]
bundles/org.openhab.binding.openweathermap/src/test/java/org/openhab/binding/openweathermap/internal/handler/OpenWeatherMapOneCallHistoryHandlerTest.java [new file with mode: 0644]
bundles/org.openhab.binding.openweathermap/src/test/resources/history_v2_5.json [new file with mode: 0644]
bundles/org.openhab.binding.openweathermap/src/test/resources/history_v3_0.json [new file with mode: 0644]