Skip to content

Commit 8df3fd3

Browse files
tiwarivikashjhoeller
authored andcommitted
Remove unnecessary null check
1 parent 4faee16 commit 8df3fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/RequestMappingInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ else if (this.name != null) {
201201
return this.name;
202202
}
203203
else {
204-
return (other.name != null ? other.name : null);
204+
return other.name;
205205
}
206206
}
207207

0 commit comments

Comments
 (0)