Skip to content

Commit 4de2a4a

Browse files
committed
Bump nullaway from 0.12.11 to 0.13.1
This also sets `RequireExplicitNullMarking` to WARN. Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
1 parent 73068f5 commit 4de2a4a

File tree

5 files changed

+61
-3
lines changed

5 files changed

+61
-3
lines changed

spring-batch-notion/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ limitations under the License.
155155
<!-- Check JSpecify annotations -->
156156
-Xep:NullAway
157157
-XepOpt:NullAway:OnlyNullMarked
158+
-Xep:RequireExplicitNullMarking:WARN
158159
-XepOpt:NullAway:SuppressionNameAliases=DataFlowIssue
159160
</compilerArg>
160161
</compilerArgs>
@@ -167,7 +168,7 @@ limitations under the License.
167168
<path>
168169
<groupId>com.uber.nullaway</groupId>
169170
<artifactId>nullaway</artifactId>
170-
<version>0.12.11</version>
171+
<version>0.13.1</version>
171172
</path>
172173
</annotationProcessorPaths>
173174
<failOnWarning>true</failOnWarning>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright 2024-2026 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
@NullUnmarked
17+
package org.springframework.batch.extensions.notion.it;
18+
19+
import org.jspecify.annotations.NullUnmarked;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright 2024-2026 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
@NullUnmarked
17+
package org.springframework.batch.extensions.notion.it.pagination;
18+
19+
import org.jspecify.annotations.NullUnmarked;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*
2+
* Copyright 2024-2026 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
@NullUnmarked
17+
package org.springframework.batch.extensions.notion.mapping;
18+
19+
import org.jspecify.annotations.NullUnmarked;

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Tests for Spring Batch Notion.
1818
*/
19-
@NullMarked
19+
@NullUnmarked
2020
package org.springframework.batch.extensions.notion;
2121

22-
import org.jspecify.annotations.NullMarked;
22+
import org.jspecify.annotations.NullUnmarked;

0 commit comments

Comments
 (0)