Browse Source

Merge pull request #1730 from utsman/rm-dupl-check

Remove duplicate null check
pull/6/head
Ryan Baxter 8 years ago committed by GitHub
parent
commit
0fcc979fe1
  1. 2
      spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/SimpleRouteLocator.java

2
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/SimpleRouteLocator.java

@ -54,7 +54,7 @@ public class SimpleRouteLocator implements RouteLocator, Ordered { @@ -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;
}

Loading…
Cancel
Save