We use org.springframework.jdbc.support.rowset.SqlRowSet in our project to extract data from PostgreSQL.
Recently I found out that IntelliJ IDEA shows warning where it shouldn't be.

As I understand it's because IDEA thinks that SqlRowSet.getString always return non-null value. But it's not true. It's because of @NonNullApi annotation in https://github.com/spring-projects/spring-framework/blob/master/spring-jdbc/src/main/java/org/springframework/jdbc/support/rowset/package-info.java
Need to mark all SqlRowSets methods which can return null as @Nullable to avoid static analyzer false-positive warnings.
We use

org.springframework.jdbc.support.rowset.SqlRowSetin our project to extract data from PostgreSQL.Recently I found out that IntelliJ IDEA shows warning where it shouldn't be.
As I understand it's because IDEA thinks that
SqlRowSet.getStringalways return non-nullvalue. But it's not true. It's because of@NonNullApiannotation in https://github.com/spring-projects/spring-framework/blob/master/spring-jdbc/src/main/java/org/springframework/jdbc/support/rowset/package-info.javaNeed to mark all
SqlRowSets methods which can returnnullas@Nullableto avoid static analyzer false-positive warnings.