Skip to content

Commit

Permalink
Merge pull request openhab#986 from smee204/master
Browse files Browse the repository at this point in the history
Fix for issue openhab#900. Network health refresh interval could not be changed...
  • Loading branch information
teichsta committed Jun 13, 2014
2 parents 8c8d6e7 + 65b796e commit 5fab97c
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ protected String getName() {
protected long getRefreshInterval() {
return refreshInterval;
}

@Override
public void activate() {
super.activate();
setProperlyConfigured(true);
}

/**
* @{inheritDoc}
Expand Down Expand Up @@ -107,8 +101,9 @@ public void updated(Dictionary config) throws ConfigurationException {
String refreshIntervalString = (String) config.get("refresh");
if (refreshIntervalString != null && !refreshIntervalString.isEmpty()) {
refreshInterval = Long.parseLong(refreshIntervalString);
}
}
}
setProperlyConfigured(true);
}


Expand Down

0 comments on commit 5fab97c

Please sign in to comment.