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

Workaround null-checks #1

Merged
merged 1 commit into from
Nov 8, 2018
Merged

Conversation

martinvw
Copy link

@martinvw martinvw commented Nov 8, 2018

Signed-off-by: Martin van Wingerden <[email protected]>
@Hilbrand Hilbrand merged commit c4bd45c into Hilbrand:tplink_mac Nov 8, 2018
@martinvw martinvw deleted the tplink_mac branch November 8, 2018 20:27
Hilbrand added a commit that referenced this pull request Jul 8, 2020
* Removed plugName parameter

It should not be a required parameter as it's not used to identify.
So removed it as it's also already used to set the name.

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Simplified discovery code

Changed to use serial number for smart plug thing id as is done with the other devices.
Also some clean up of logging that were incorrect.

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Ran spotless to conform to styling

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Changed log message

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Added future to cancel scheduled command

Signed-off-by: Hilbrand Bouwkamp <[email protected]>
andrew-schofield pushed a commit that referenced this pull request Jul 28, 2020
* Removed plugName parameter

It should not be a required parameter as it's not used to identify.
So removed it as it's also already used to set the name.

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Simplified discovery code

Changed to use serial number for smart plug thing id as is done with the other devices.
Also some clean up of logging that were incorrect.

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Ran spotless to conform to styling

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Changed log message

Signed-off-by: Hilbrand Bouwkamp <[email protected]>

* Added future to cancel scheduled command

Signed-off-by: Hilbrand Bouwkamp <[email protected]>
Hilbrand pushed a commit that referenced this pull request Dec 12, 2022
…penhab#13695)

* [jsscripting] Refactor ThreadsafeTimers to create futures inline instead of in an extra methods
* [jsscripting] Introduce utility class for providing easy access to script services
* [jsscripting] Reimplement timer creation methods from ScriptExecution for thread-safety
* [jsscripting] Add missing JavaDoc for reimplement timer creation methods
* [jsscripting] Remove the future from the map when setTimeout expires
* [jsscripting] Rename `GraalJSScriptServiceUtil` to `JSScriptServiceUtil`
* [jsscripting] Remove the `createTimerWithArgument` method
* [jsscripting] Replace the OSGi workaround of `JSScriptServiceUtil` with an injection mechanism
* [jsscripting] Use constructor to inject `JSScriptServiceUtil` into `GraalJSScriptEngineFactory`
* [jsscripting] Minor improvements by @J-N-K (#1)
* [jsscripting] Minor changes related to last commit to keep flexibility of `JSRuntimeFeatures`
* [jsscripting] Upgrade openhab-js to v2.1.1
* [jsscripting] Remove unused code

Signed-off-by: Florian Hotze <[email protected]>
Co-authored-by: Jan N. Klug <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants