mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-09-17 15:49:00 +00:00
Remove duplicate null check
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ public class SimpleRouteLocator implements RouteLocator, Ordered {
|
||||
|
||||
public SimpleRouteLocator(String servletPath, ZuulProperties properties) {
|
||||
this.properties = properties;
|
||||
if (servletPath != null && StringUtils.hasText(servletPath)) {
|
||||
if (StringUtils.hasText(servletPath)) {
|
||||
this.dispatcherServletPath = servletPath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user