Skip to content

Commit 630fe66

Browse files
committed
Add more nullability annotations to build-plugin/spring-boot-antlib
See gh-46587
1 parent 8d853fa commit 630fe66

File tree

1 file changed

+1
-1
lines changed
  • build-plugin/spring-boot-antlib/src/main/java/org/springframework/boot/ant

1 file changed

+1
-1
lines changed

build-plugin/spring-boot-antlib/src/main/java/org/springframework/boot/ant/FindMainClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void execute() throws BuildException {
6060
handle(mainClass);
6161
}
6262

63-
private String findMainClass() {
63+
private @Nullable String findMainClass() {
6464
if (this.classesRoot == null) {
6565
throw new BuildException("one of @mainClass or @classesRoot must be specified");
6666
}

0 commit comments

Comments
 (0)