Skip to content

Commit 96c0e0c

Browse files
Suppress nullability constraint warning.
The variable in doubt is checked before in another method being the sole code path leading to the doBuild method. See: #1980
1 parent 239687c commit 96c0e0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/aot/JdbcCodeBlocks.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ public CodeBlock build() {
557557
return doBuild();
558558
}
559559

560+
@SuppressWarnings("NullAway")
560561
private CodeBlock doBuild() {
561562

562563
MethodReturn methodReturn = context.getMethodReturn();

0 commit comments

Comments
 (0)