-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
remove @Nullable annotations and dependency on com.google.code.findbugs:jsr305 #920
Conversation
This is the only location where we use |
Apparently not:
but I guess it's the only place that uses javax.annotation.Nullable. Looks like the rest use org.jetbrains.annotations.Nullable |
For what it's worth, the test failures (timeouts) look unrelated to this change. |
@@ -233,9 +232,8 @@ public void put(InputStream body, com.github.dockerjava.core.MediaType mediaType | |||
execute(request).close(); | |||
} | |||
|
|||
protected RequestBody toRequestBody(InputStream body, @Nullable String mediaType) { | |||
protected RequestBody toRequestBody(InputStream body, String mediaType) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should replace this with org.jetbrains.annotations.Nullable
? At least this PR would get us to a consistent state, from which point we can consider whether it's worth keeping the jetbrains library in place!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure: 1f5b77c
I just merged with master, regarding the comment of @rnorth, I think we can merge this. |
Another (in addition to #913) way to address #912.