Skip to content

Commit

Permalink
In a test, replace an obsolete JSpecify package name with a fictional…
Browse files Browse the repository at this point in the history
… one.

RELNOTES=n/a
PiperOrigin-RevId: 537311624
  • Loading branch information
eamonnmcmanus authored and Google Java Core Libraries committed Jun 2, 2023
1 parent 9133b52 commit 7d46d87
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ public void nullableSetterForNonNullableParameter() {
"package foo.bar;",
"",
"import com.google.auto.value.AutoBuilder;",
"import org.checkerframework.checker.nullness.qual.Nullable;",
"import com.example.annotations.Nullable;",
"",
"class Baz {",
" Baz(String thing) {}",
Expand All @@ -851,8 +851,8 @@ public void nullableSetterForNonNullableParameter() {
"}");
JavaFileObject nullableFileObject =
JavaFileObjects.forSourceLines(
"org.checkerframework.checker.nullness.qual.Nullable",
"package org.jspecify.nullness;",
"com.example.annotations.Nullable",
"package com.example.annotations;",
"",
"import java.lang.annotation.ElementType;",
"import java.lang.annotation.Target;",
Expand Down

0 comments on commit 7d46d87

Please sign in to comment.