Skip to content

Commit 9c2879e

Browse files
Polishing.
Ignore warnings for already checked constructs null away does not understand. Original Pull Request: #3282
1 parent d2ca1fc commit 9c2879e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/org/springframework/data/mapping/Parameter.java

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public boolean hasName() {
118118
* @since 3.5
119119
* @see org.springframework.core.ParameterNameDiscoverer
120120
*/
121+
@SuppressWarnings("NullAway")
121122
public String getRequiredName() {
122123

123124
if (!hasName()) {

src/main/java/org/springframework/data/repository/query/Parameter.java

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ public boolean isDynamicProjectionParameter() {
125125
*
126126
* @return
127127
*/
128+
@SuppressWarnings("NullAway")
128129
public String getPlaceholder() {
129130

130131
if (isNamedParameter()) {

0 commit comments

Comments
 (0)