Skip to content

Commit 41a9341

Browse files
committed
Merge master
1 parent 7e94d97 commit 41a9341

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

modules/openapi-generator/src/test/java/org/openapitools/codegen/java/spring/SpringCodegenTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6649,14 +6649,14 @@ public void testJspecify(String library, int springBootVersion, String fooApiFil
66496649
.doesNotContain("findbugs");
66506650
}
66516651
JavaFileAssert.assertThat(files.get("Foo.java"))
6652-
.assertTypeAnnotations().doesImportAnnotation("Nullable").toType()
6652+
.assertTypeAnnotations().doesImportAnnotation("org.jspecify.annotations.Nullable").toType()
66536653
.fileContains(
66546654
"private java.time.@Nullable Instant dt;",
66556655
"private org.springframework.core.io.@Nullable Resource binary",
66566656
"setBinary(org.springframework.core.io.@Nullable Resource binary)"
66576657
);
66586658
JavaFileAssert.assertThat(files.get(fooApiFilename))
6659-
.assertTypeAnnotations().doesImportAnnotation("Nullable").toType()
6659+
.assertTypeAnnotations().doesImportAnnotation("org.jspecify.annotations.Nullable").toType()
66606660
.fileContains(
66616661
"java.time.@Nullable Instant dtParam",
66626662
"java.time.@Nullable Instant dtQuery",
@@ -6672,7 +6672,7 @@ public void testJspecify(String library, int springBootVersion, String fooApiFil
66726672
JavaFileAssert.assertThat(files.get("UploadApiController.java").toPath())
66736673
.assertTypeAnnotations()
66746674
.doesNotContainWithName("Nullable")
6675-
.doesImportAnnotation("Nullable");
6675+
.doesImportAnnotation("org.jspecify.annotations.Nullable");
66766676
}
66776677
}
66786678

0 commit comments

Comments
 (0)