Commit 0fcc979f by Ryan Baxter Committed by GitHub

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

Remove duplicate null check
parents 1d5a68c9 cb9d9bd8
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment