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

Correct 'ifSucessful' to DataTransactionResult#ifSuccessful #1565

Closed
wants to merge 1 commit into from

Conversation

widd
Copy link

@widd widd commented May 21, 2017

Simple spelling mistake fix.

@liach
Copy link
Contributor

liach commented May 29, 2017

Report it in #1000 instead, please!

@Deamon5550
Copy link
Contributor

No seeing as this is a breaking change it is not suited to the minor issue list.

@liach
Copy link
Contributor

liach commented May 30, 2017

eh, why not merge it then?

@@ -330,7 +330,7 @@ public boolean isSuccessful() {
*
* @param consumer The consumer to call
*/
public void ifSucessful(Consumer<List<ImmutableValue<?>>> consumer) {
Copy link
Contributor

@dualspiral dualspiral May 30, 2017

Choose a reason for hiding this comment

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

This method should be deprecated (with a @deprecated tag explaining why in the javadocs), rather than outright removed, and call the correct method - a bit like what was done here. We'd then remove it two API versions up the road (so, if it was pulled now, we would want to deprecate for API 7, which we'd then remove in API 8)

@stephan-gh stephan-gh self-assigned this Jun 12, 2017
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.

5 participants