-
-
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
[neeo] Remove org.apache.common #14442
Conversation
Signed-off-by: lsiepel <leosiepel@gmail.com>
@tmrobert8 are you able to review? |
I can probably test this. I may be one of the last neeo users at this point. |
You are not alone, still using it as well. |
Awesome, glad to know I'm not the lone ranger. |
@lsiepel What is the expected behavior that we are looking for to pass/fail this? I haven't looked at the code enough to see where the strings would be impacted with this. I'm loading the jar now. |
I would call it succesfull if you managed to discover, add and control things. At that point about all changed lines have been called. Maybe use it for some days to see if anything strange happens. |
Just to confirm, I'm only replacing the binding piece. Not the integration right. |
Yes. |
I've dropped the jar in, it came up no errors so far. I'll use it for a few days to make sure it behaves as expected. |
The binding looked good last night when using the remote. I didn't see any issues. |
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
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
I'm fine with the proposed change assuming the dependencies on the core are obviously resolved. |
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
@lsiepel Why are some of the imports pointing to the neeo StringUtils and some are pointed to the openhab core StringUtils? |
Because not all methods are available in the core utility class. Only the methods that are shared across multiple bindings are moved to core. |
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.
Thanks! Two minor suggestions.
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/util/StringUtils.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.io.neeo/src/main/java/org/openhab/io/neeo/internal/util/StringUtils.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
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
Signed-off-by: Leo Siepel <leosiepel@gmail.com> Signed-off-by: querdenker2k <querdenker2k@gmx.de>
Signed-off-by: Leo Siepel <leosiepel@gmail.com> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Untested, minor refactoring only from code perspective