Skip to content

Commit 19e8bd1

Browse files
committed
Introduce Nullaway to the project
1 parent 75a7015 commit 19e8bd1

File tree

53 files changed

+406
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+406
-174
lines changed

.mvn/jvm.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
11
-Xmx1024m -XX:CICompilerCount=1 -XX:TieredStopAtLevel=1 -Djava.security.egd=file:/dev/./urandom
2+
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
3+
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
4+
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
5+
--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
6+
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
7+
--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED
8+
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
9+
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
10+
--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
11+
--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED

.mvn/maven.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
-DaltSnapshotDeploymentRepository=repo.spring.io::default::https://repo.spring.io/libs-snapshot-local
2+
-Djspecify.enabled=true
23
-P spring

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/flatfile/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@
1818
* Auto-configuration classes for flat file item readers and writers in single-step batch
1919
* jobs.
2020
*/
21+
@NullMarked
2122
package org.springframework.cloud.task.batch.autoconfigure.flatfile;
23+
24+
import org.jspecify.annotations.NullMarked;

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/jdbc/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
/**
1818
* Auto-configuration classes for JDBC item readers and writers in single-step batch jobs.
1919
*/
20+
@NullMarked
2021
package org.springframework.cloud.task.batch.autoconfigure.jdbc;
22+
23+
import org.jspecify.annotations.NullMarked;

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/kafka/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@
1818
* Auto-configuration classes for Kafka item readers and writers in single-step batch
1919
* jobs.
2020
*/
21+
@NullMarked
2122
package org.springframework.cloud.task.batch.autoconfigure.kafka;
23+
24+
import org.jspecify.annotations.NullMarked;

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
/**
1818
* Auto-configuration classes for Spring Cloud Task single-step batch jobs.
1919
*/
20+
@NullMarked
2021
package org.springframework.cloud.task.batch.autoconfigure;
22+
23+
import org.jspecify.annotations.NullMarked;

spring-cloud-starter-single-step-batch-job/src/main/java/org/springframework/cloud/task/batch/autoconfigure/rabbit/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@
1818
* Auto-configuration classes for RabbitMQ item readers and writers in single-step batch
1919
* jobs.
2020
*/
21+
@NullMarked
2122
package org.springframework.cloud.task.batch.autoconfigure.rabbit;
23+
24+
import org.jspecify.annotations.NullMarked;

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/configuration/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
/**
1818
* Configuration classes for Spring Cloud Task Batch integration.
1919
*/
20+
@NullMarked
2021
package org.springframework.cloud.task.batch.configuration;
22+
23+
import org.jspecify.annotations.NullMarked;

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/handler/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
/**
1818
* Handler components for Spring Cloud Task Batch integration.
1919
*/
20+
@NullMarked
2021
package org.springframework.cloud.task.batch.handler;
22+
23+
import org.jspecify.annotations.NullMarked;

spring-cloud-task-batch/src/main/java/org/springframework/cloud/task/batch/listener/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
/**
1818
* Listener components for Spring Cloud Task Batch integration.
1919
*/
20+
@NullMarked
2021
package org.springframework.cloud.task.batch.listener;
22+
23+
import org.jspecify.annotations.NullMarked;

0 commit comments

Comments
 (0)