Smarteon / loxone-java

Java implementation of the Loxone™ communication protocol (Web Socket)
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

Fix race condition when creating websocket #202

Closed jimirocks closed 1 year ago

jimirocks commented 1 year ago

Resolves #201

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 70.58% and project coverage change: -0.07 :warning:

Comparison is base (3afcc79) 79.44% compared to head (2608127) 79.38%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #202 +/- ## ============================================ - Coverage 79.44% 79.38% -0.07% - Complexity 766 767 +1 ============================================ Files 108 108 Lines 2228 2231 +3 Branches 181 183 +2 ============================================ + Hits 1770 1771 +1 + Misses 364 362 -2 - Partials 94 98 +4 ``` | [Impacted Files](https://codecov.io/gh/Smarteon/loxone-java/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Smarteon) | Coverage Δ | | |---|---|---| | [.../main/java/cz/smarteon/loxone/LoxoneWebSocket.java](https://codecov.io/gh/Smarteon/loxone-java/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Smarteon#diff-c3JjL21haW4vamF2YS9jei9zbWFydGVvbi9sb3hvbmUvTG94b25lV2ViU29ja2V0LmphdmE=) | `66.52% <57.14%> (+0.28%)` | :arrow_up: | | [...java/cz/smarteon/loxone/LoxoneWebsocketClient.java](https://codecov.io/gh/Smarteon/loxone-java/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Smarteon#diff-c3JjL21haW4vamF2YS9jei9zbWFydGVvbi9sb3hvbmUvTG94b25lV2Vic29ja2V0Q2xpZW50LmphdmE=) | `50.94% <77.77%> (-2.00%)` | :arrow_down: | | [src/main/java/cz/smarteon/loxone/LoxoneTime.java](https://codecov.io/gh/Smarteon/loxone-java/pull/202?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Smarteon#diff-c3JjL21haW4vamF2YS9jei9zbWFydGVvbi9sb3hvbmUvTG94b25lVGltZS5qYXZh) | `66.66% <100.00%> (-8.34%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Smarteon). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Smarteon)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.