Polish HttpsRedirectWebFilter

Issue: gh-5749
This commit is contained in:
Rob Winch 2018-09-07 14:29:46 -05:00
parent 2c982a4168
commit 96d85ad2b5
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public final class HttpsRedirectWebFilter implements WebFilter {
this.requiresHttpsRedirectMatcher = requiresHttpsRedirectMatcher;
}
private Boolean isInsecure(ServerWebExchange exchange) {
private boolean isInsecure(ServerWebExchange exchange) {
return !"https".equals(exchange.getRequest().getURI().getScheme());
}