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

See gh-46587
This commit is contained in:
Moritz Halbritter
2025-08-11 15:50:50 +02:00
parent 630fe66136
commit d5c4d85e72
@@ -287,6 +287,7 @@ class BootZipCopyAction implements CopyAction {
if (BootZipCopyAction.this.layerResolver != null) {
Layer layer = BootZipCopyAction.this.layerResolver.getLayer(details);
Assert.state(this.layerIndex != null, "'layerIndex' must not be null");
Assert.state(layer != null, "'layer' must not be null");
this.layerIndex.add(layer, name);
}
}