Browse Source

Remove unnecessary null check

pull/2001/head
Vikash Tiwari 6 years ago committed by Juergen Hoeller
parent
commit
8df3fd3f1d
  1. 2
      spring-webflux/src/main/java/org/springframework/web/reactive/result/method/RequestMappingInfo.java

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

@ -201,7 +201,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping @@ -201,7 +201,7 @@ public final class RequestMappingInfo implements RequestCondition<RequestMapping
return this.name;
}
else {
return (other.name != null ? other.name : null);
return other.name;
}
}

Loading…
Cancel
Save