Skip to content
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

[velux] Fixed a couple of bugs if the Bridge contains one or more Scenes #9794

Merged
merged 4 commits into from
Jan 13, 2021

Conversation

andrewfg
Copy link
Contributor

Fixed the following bugs..

  1. If the Bridge contains one or more Scenes, the Bridge Check Property displayed an error
  2. If the Bridge contains one or more Scenes, the mapThing2Velux() method displayed an error
  3. Removed a compiler null warning

Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: Andrew Fiddian-Green <[email protected]>
@andrewfg andrewfg added bug An unexpected problem or unintended behavior of an add-on rebuild Triggers Jenkins PR build and removed rebuild Triggers Jenkins PR build labels Jan 12, 2021
@andrewfg andrewfg requested a review from cpmeister January 13, 2021 16:33
Copy link
Member

@fwolter fwolter left a comment

Choose a reason for hiding this comment

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

LGTM

There are many static loggers. They should be only final. Could you file a follow-up PR?

@fwolter fwolter merged commit b4705eb into openhab:main Jan 13, 2021
@fwolter fwolter added this to the 3.1 milestone Jan 13, 2021
@andrewfg
Copy link
Contributor Author

@fwolter thank you for the merge.

There are many static loggers. They should be only final.

And thank you for the feedback. But the reason for having static loggers is normally that the respective classes have static methods which require logging. I don't know any other way to resolve that. (Do you have suggestions?)

@fwolter
Copy link
Member

fwolter commented Jan 13, 2021

Shame on me, I didn't looked into the code at these places. It's ok to have these static.

But I just saw that the JAR got accidentally into this PR. Can you file a follow-up PR to remove it?

@andrewfg
Copy link
Contributor Author

the JAR got accidentally into this PR. Can you file a follow-up PR to remove it?

Yes.

themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this pull request May 10, 2021
…nes (openhab#9794)

Signed-off-by: Andrew Fiddian-Green <[email protected]>
Signed-off-by: John Marshall <[email protected]>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants