Skip to content

Commit b1eb140

Browse files
authored
[hotfix] Do not use org.jetbrains.annotations.Nullable
1 parent 64bff89 commit b1eb140

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

flink-runtime/src/test/java/org/apache/flink/runtime/state/TestTaskStateManager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public StateChangelogStorage<?> getStateChangelogStorage() {
252252
return stateChangelogStorage;
253253
}
254254

255-
@org.jetbrains.annotations.Nullable
255+
@Nullable
256256
@Override
257257
public StateChangelogStorageView<?> getStateChangelogStorageView(
258258
Configuration configuration, ChangelogStateHandle changelogStateHandle) {

tools/maven/checkstyle.xml

+10
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,16 @@ This file is based on the checkstyle file of Apache Beam.
246246
<property name="message" value="Use import javax.annotation.Nonnull"/>
247247
</module>
248248

249+
<module name="RegexpSinglelineJava">
250+
<property name="format" value="^\s*@org.jetbrains.annotations.Nullable\s*$"/>
251+
<property name="message" value="Use import javax.annotation.Nullable"/>
252+
</module>
253+
254+
<module name="RegexpSinglelineJava">
255+
<property name="format" value="^\s*@org.jetbrains.annotations.Nonnull\s*$"/>
256+
<property name="message" value="Use import javax.annotation.Nonnull"/>
257+
</module>
258+
249259
<!--
250260
251261
JAVADOC CHECKS

0 commit comments

Comments
 (0)