-
-
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
[powermax] Removed dependency on 'org.apache.commons.io.IOUtils' #7728
Conversation
Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
This was pushed without a working maven buiuld (Maven build is currently not working due to download failures). |
Travis tests were successfulHey @lolodomo, |
@@ -63,11 +62,17 @@ protected void cleanup() { | |||
} | |||
|
|||
if (output != null) { | |||
IOUtils.closeQuietly(output); | |||
try { |
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 think using closeQuietly
is wrong here. The description clearly says, that it should only be used when normal processing failed (e.g. to close after an exception has been thrown and we are in a finally
block), This is clearly not the case here. I would prefer to log something in case closing failes.
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.
All bindings are doing that like that !
I have already 12 PRs to update in this case.
Is DEBUG level ok for you ?
Singed-off-by: Laurent Garnier <[email protected]>
Using the offline mode ( |
Travis tests were successfulHey @lolodomo, |
Signed-off-by: Laurent Garnier <[email protected]>
Travis tests were successfulHey @lolodomo, |
@cweitkamp @J-N-K : is ok now with the error logged ? Should we log only the error message or the stack trace too ? |
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 am fine with it. Thanks.
@J-N-K feel free to merge if you agree.
Manually verified sign-off ok |
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]> Signed-off-by: CSchlipp <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]> Signed-off-by: Daan Meijer <[email protected]>
…nhab#7728) * [powermax] Removed dependency on 'org.apache.commons.io.IOUtils' Relative to openhab#7722 Signed-off-by: Laurent Garnier <[email protected]>
Relative to #7722
Signed-off-by: Laurent Garnier [email protected]