Skip to content

Commit

Permalink
Merge pull request openhab#2 from lolodomo/sonnen_null_config
Browse files Browse the repository at this point in the history
Remove @nullable config
  • Loading branch information
chingon007 authored Jan 8, 2022
2 parents 7a3ed1a + b3a6f8a commit 27f2970
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,8 @@ public boolean refreshBatteryConnection(Helper message, String thingUID) {
*
* @param config2
*/
public void setConfig(@Nullable SonnenConfiguration config2) {
if (config2 != null) {
this.config = config2;
}
public void setConfig(SonnenConfiguration config2) {
this.config = config2;
}

/**
Expand Down

0 comments on commit 27f2970

Please sign in to comment.