diff options
Diffstat (limited to 'jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java')
-rw-r--r-- | jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java b/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java index 79b3946..70ac0e9 100644 --- a/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java +++ b/jimfs/src/test/java/com/google/common/jimfs/AbstractPathMatcherTest.java @@ -33,7 +33,7 @@ import java.nio.file.WatchKey; import java.nio.file.WatchService; import java.util.Iterator; import java.util.regex.PatternSyntaxException; -import javax.annotation.Nullable; +import org.checkerframework.checker.nullness.compatqual.NullableDecl; /** * Abstract base class for tests of {@link PathMatcher} implementations. @@ -48,7 +48,7 @@ public abstract class AbstractPathMatcherTest { protected abstract PathMatcher matcher(String pattern); /** Override to return a real matcher for the given pattern. */ - @Nullable + @NullableDecl protected PathMatcher realMatcher(String pattern) { return null; } @@ -77,7 +77,7 @@ public abstract class AbstractPathMatcherTest { private final PathMatcher matcher; - @Nullable private final PathMatcher realMatcher; + @NullableDecl private final PathMatcher realMatcher; PatternAsserter(String pattern) { this.matcher = matcher(pattern); |