openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

[zwave] Safer check in case meter_reset null #5945

Closed Hk-tang closed 4 years ago

Hk-tang commented 4 years ago

Possible null when using "true".equalsIgnoreCase(arguments.get("meter_reset")). In case it could be null, use Boolean.parseBoolean(arguments.get("meter_reset"))

Hk-tang commented 4 years ago

The force pushes were because I could not get the sign-off correctly

9037568 commented 4 years ago

So you've exchanged one potential exception for another. Not very helpful. Doesn't matter, though, because this repository is closed.