Add more nullability annotations to build-plugin/spring-boot-antlib

See gh-46587
This commit is contained in:
Moritz Halbritter 2025-08-11 15:07:44 +02:00
parent 8d853fae86
commit 630fe66136
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class FindMainClass extends Task {
handle(mainClass);
}
private String findMainClass() {
private @Nullable String findMainClass() {
if (this.classesRoot == null) {
throw new BuildException("one of @mainClass or @classesRoot must be specified");
}