Skip to content

Conversation

@Nightsd01
Copy link
Contributor

• Fixes an issue with the SDK that would print a warning for the private _handleMethod() method.
• It was returning the results of calling private handler references, which themselves returned void. However the function is defined to return Future not void, so a warning was printed.
• Fixed by returning null at the end. The result of this function is not used and the SDK does not need to wait asynchronously for the handlers to finish executing.
Fixes #14

NOTE The typical reviewer for these PR's (@jkasten2) is out on vacation for the next week, so to avoid delaying builds, we will merge and release without review.

• Fixes an issue with the SDK that would print a warning for the private _handleMethod() method.
• It was returning the results of calling private handler references, which themselves returned void. However the function is defined to return Future<Null> not void, so a warning was printed.
• Fixed by returning null at the end. The result of this function is not used and the SDK does not need to wait asynchronously for the handlers to finish executing.
@Nightsd01 Nightsd01 merged commit 121df57 into master Sep 12, 2018
@Nightsd01 Nightsd01 deleted the fix_typecast_warning branch September 12, 2018 21:28
@jkasten2
Copy link
Member

LGTM

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.

3 participants