-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Leverage
@NullMarked
instead of package configuration
This commit replaces NullAway package configuration by package-level `@NullMarked` detection by configuring `NullAway:AnnotatedPackages` to an empty string. NullAway configuration should be refined to use a proper flag instead once uber/NullAway#574 is fixed. See gh-28797
- Loading branch information
Showing
8 changed files
with
4 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
...ext/src/main/java/org/springframework/instrument/classloading/glassfish/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
/** | ||
* Support for class instrumentation on GlassFish. | ||
*/ | ||
@NullMarked | ||
package org.springframework.instrument.classloading.glassfish; | ||
|
||
import org.jspecify.annotations.NullMarked; |
3 changes: 0 additions & 3 deletions
3
...context/src/main/java/org/springframework/instrument/classloading/jboss/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
/** | ||
* Support for class instrumentation on JBoss AS 6 and 7. | ||
*/ | ||
@NullMarked | ||
package org.springframework.instrument.classloading.jboss; | ||
|
||
import org.jspecify.annotations.NullMarked; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
...ontext/src/main/java/org/springframework/instrument/classloading/tomcat/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
/** | ||
* Support for class instrumentation on Tomcat. | ||
*/ | ||
@NullMarked | ||
package org.springframework.instrument.classloading.tomcat; | ||
|
||
import org.jspecify.annotations.NullMarked; |
3 changes: 0 additions & 3 deletions
3
spring-core/src/main/java/org/springframework/aot/nativex/feature/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
/** | ||
* GraalVM native image features, not part of Spring Framework public API. | ||
*/ | ||
@NullMarked | ||
package org.springframework.aot.nativex.feature; | ||
|
||
import org.jspecify.annotations.NullMarked; |
3 changes: 0 additions & 3 deletions
3
spring-core/src/main/java/org/springframework/aot/nativex/substitution/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
/** | ||
* GraalVM native image substitutions, not part of Spring Framework public API. | ||
*/ | ||
@NullMarked | ||
package org.springframework.aot.nativex.substitution; | ||
|
||
import org.jspecify.annotations.NullMarked; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters