aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorcpovirk <cpovirk@google.com>2019-10-03 12:11:16 -0700
committerChris Povirk <beigetangerine@gmail.com>2019-10-04 12:12:19 -0400
commita76d68fdcb08c9f5bde0ad2d143d0e8682f807eb (patch)
treef048bbdee1f7d0b11cfefa505fb7276389504a22 /pom.xml
parent3bac6e0866acfd92eb126bcd6c6c355bd37af855 (diff)
downloadjimfs-a76d68fdcb08c9f5bde0ad2d143d0e8682f807eb.tar.gz
Mostly migrate off jsr305.
- Mostly migrate to Checker Framework declaration annotations. - Migrate @GuardedBy to a custom annotation for now. (We would migrate to Error Prone's, but that's causing me problems as I experiment with JPMS.) Compare to b/69411537 for Guava. I've left @ParametersAreNonnullByDefault in place for now, but we'd need to remove it to fully eliminate the jsr305 dep. RELNOTES=Migrated from jsr305 `@Nullable` to Checker Framework `@NullableDecl`. In addition to the new dependency on the Checker Framework annotations, we keep the dependency on jsr305 for now so that we can keep using `@ParametersAreNonNullByDefault`. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=272713254
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 6c0187b..32e13bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -117,6 +117,11 @@
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
+ <dependency>
+ <groupId>org.checkerframework</groupId>
+ <artifactId>checker-compat-qual</artifactId>
+ <version>2.5.5</version>
+ </dependency>
<!-- Test dependencies -->
<dependency>