Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2dd6e74

Browse files
christophstroblmp911de
authored andcommitted
Polishing.
Ignore warnings for already checked constructs null away does not understand. Original Pull Request: #3282
1 parent 9c96637 commit 2dd6e74

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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /