Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

[novelanheatpump] Add port config parameter (for #3607) #3615

Merged
merged 1 commit into from Dec 29, 2015

Conversation

watou
Copy link
Contributor

@watou watou commented Dec 28, 2015

Added port config parameter for #3607.

@watou watou self-assigned this Dec 28, 2015
@watou watou added this to the 1.8.0 milestone Dec 28, 2015
@watou watou removed their assignment Dec 28, 2015
@watou
Copy link
Contributor Author

watou commented Dec 29, 2015

@hakan42, would you mind giving this PR a read through before it's merged? OK to merge if you think it's ready. Thank you.

String ip = null;
try {
String refreshIntervalString = (String) config.get("refresh"); //$NON-NLS-1$
refreshInterval = StringUtils.isNotBlank(refreshIntervalString) ?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the sake of readability you could statically import isNotBlank()

@teichsta
Copy link
Member

Thanks for this contribution @watou. See some minor comments inline …

@watou watou force-pushed the novelanheatpump-port-config branch from 7013fc6 to 8a680d0 Compare December 29, 2015 21:50
@watou
Copy link
Contributor Author

watou commented Dec 29, 2015

Thank you, @teichsta. Updated and squashed.

teichsta added a commit that referenced this pull request Dec 29, 2015
[novelanheatpump] Add port config parameter (for #3607)
@teichsta teichsta merged commit d9e3597 into openhab:master Dec 29, 2015
@teichsta
Copy link
Member

great thanks @watou!

@watou watou deleted the novelanheatpump-port-config branch December 9, 2016 17:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants