-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' #7734
Conversation
Relative to openhab#7722 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
52a84c3
to
3f04995
Compare
Travis tests were successfulHey @lolodomo, |
@@ -97,8 +96,20 @@ public void closeSerialPort() { | |||
SerialPort localSerialPort = serialPort; | |||
if (localSerialPort != null) { | |||
try { | |||
IOUtils.closeQuietly(localSerialPort.getInputStream()); | |||
IOUtils.closeQuietly(localSerialPort.getOutputStream()); | |||
if (localSerialPort.getInputStream() != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to assign a local variable here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Travis tests were successfulHey @lolodomo, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr> Signed-off-by: CSchlipp <christian@schlipp.de>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr> Signed-off-by: Daan Meijer <daan@studioseptember.nl>
…nhab#7734) * [plugwise] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 * Local variables Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Relative to #7722
Signed-off-by: Laurent Garnier lg.hc@free.fr