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

4.0 change to mehtods #768

Open
RichardHightower opened this issue Sep 17, 2016 · 0 comments
Open

4.0 change to mehtods #768

RichardHightower opened this issue Sep 17, 2016 · 0 comments

Comments

@RichardHightower
Copy link
Member


    /**
     * @return true if result is sent successfully.
     */
    boolean success();

    /**
     * @return true if result is sent and this is the last result.
     */
    boolean complete();

    /**
     * If failure is true then cause will not be null.
     *
     * @return true if result is sent and result outcome is a failure.
     */
    boolean failure();

The above should be


    /**
     * @return true if result is sent successfully.
     */
    boolean wasSuccessful();

    /**
     * @return true if result is sent and this is the last result.
     */
    boolean isComplete();

    /**
     * If failure is true then cause will not be null.
     *
     * @return true if result is sent and result outcome is a failure.
     */
    boolean wasFailure();

Work on wording. Look at prior art.

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

No branches or pull requests

1 participant