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

Multipart null validation guard clauses are not validating anything #346

Closed
dekobon opened this issue Sep 29, 2017 · 0 comments
Closed

Multipart null validation guard clauses are not validating anything #346

dekobon opened this issue Sep 29, 2017 · 0 comments
Labels

Comments

@dekobon
Copy link
Contributor

dekobon commented Sep 29, 2017

For example in AbstractMultipartManager.java:147:

    @Override
    public PART uploadPart(final UPLOAD upload,
                           final int partNumber,
                           final InputStream inputStream)
            throws IOException {
        Validate.notNull("InputStream must not be null");
...

Validate.notNull is taking no parameter.

@dekobon dekobon added the bug label Sep 29, 2017
dekobon added a commit to dekobon/java-manta that referenced this issue Oct 3, 2017
@dekobon dekobon closed this as completed in ed31c89 Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant