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

Maybe the generic is not needed #55

Open
juanmbellini opened this issue Sep 25, 2018 · 0 comments
Open

Maybe the generic is not needed #55

juanmbellini opened this issue Sep 25, 2018 · 0 comments

Comments

@juanmbellini
Copy link
Owner

public static <T> HandlingResult<T> justErrorCode(final int httpErrorCode) {

We can replace with

public static HandlingResult<Void> justErrorCode(int httpErrorCode) {
        return new HandlingResult(httpErrorCode, null);
    }
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