Animal-sniffer-annotation 1.18#6488
Conversation
|
bazel dep needs to be updated, see repositories.bzl. nit: please update comments mentioning the old version |
suztomo
left a comment
There was a problem hiding this comment.
@creamsoup Thank you for checking. Updated bzl file.
| // prefer 3.0.2 from libraries instead of 3.0.1 | ||
| exclude group: 'com.google.code.findbugs', module: 'jsr305' | ||
| // prefer 1.17 from libraries instead of 1.14 | ||
| // prefer our own version from libraries instead of Guava's dependency |
There was a problem hiding this comment.
Guava 28.1 has dependency animal-sniffer-annotation 1.18, not 1.14. The old comment was outdated; it must have been hard to maintain the comment precisely by reading the Guava's pom.xml.
@creamsoup I updated this comment in more generic way, and now I feel these comments "prefer XXX from libraries instead of YYY" are hard to maintain and also my "prefer our own version from libraries instead of Guava's dependency" looks unnecessary. Don't you think we should remove these comments?
There was a problem hiding this comment.
yeah it is hard to maintain, i like your new comment (or no comment is also good enough).
i am going to make the cleanup PR. thanks for the suggestion!
| artifact = "org.codehaus.mojo:animal-sniffer-annotations:1.18", | ||
| server_urls = ["http://central.maven.org/maven2"], | ||
| artifact_sha256 = "92654f493ecfec52082e76354f0ebf87648dc3d5cec2e3c3cdb947c016747a53", | ||
| artifact_sha256 = "47f05852b48ee9baefef80fa3d8cea60efa4753c0013121dd7fe5eef2e5c729d", |
There was a problem hiding this comment.
suztomo-macbookpro44:grpc-java suztomo$ shasum -a 256 ~/Downloads/animal-sniffer-annotations-1.18.jar
47f05852b48ee9baefef80fa3d8cea60efa4753c0013121dd7fe5eef2e5c729d /Users/suztomo/Downloads/animal-sniffer-annotations-1.18.jar
|
Updated the comments to one generic comment for the occurrences of animal-sniffer-annotations exclusions. |
| libraries.jsr305, | ||
| libraries.animalsniffer_annotations | ||
| compile (libraries.guava) { | ||
| // prefer 2.3.3 from libraries instead of 2.1.3 |
There was a problem hiding this comment.
This comment has been outdated; Guava 28.1 uses error_prone_annotations:2.3.2.
| // prefer 2.3.3 from libraries instead of 2.1.3 | ||
| // prefer our own versions from libraries instead of Guava's dependency | ||
| exclude group: 'com.google.errorprone', module: 'error_prone_annotations' | ||
| // prefer 3.0.2 from libraries instead of 3.0.1 |
There was a problem hiding this comment.
This comment has been outdated; Guava 28.1 uses jsr305:3.0.2.
|
Created another PR that for files that are irrelevant to animal-sniffer-annotations. |
|
merged, thanks @suztomo! |
|
Thank you. |
Upgrading animal-sniffer-annotation to the latest 1.18.
There was a problem in upperBoundCheck in google-cloud-firestore: googleapis/java-firestore#34.