@ -260,11 +260,11 @@ Assert.state(event != null, "Event must not be null");
@@ -260,11 +260,11 @@ Assert.state(event != null, "Event must not be null");
The null-safety of Spring Framework APIs and fields must be specified using [related annotations](https://docs.spring.io/spring-framework/reference/core/null-safety.html), and consistency is enforced at build-time via [NullAway](https://github.com/uber/NullAway).
Packages are expected to enable non-null as the default in `package-info.java`:
Packages are expected to define non-null as the default in `package-info.java`:
```java
@NonNullApi
@NonNullFields
package org.springframework.core;
package org.springframework.mypackage;
```
And nullable fields, return values and parameters are expected to be specified explicitly using `@Nullable`: