Fix test failure

This commit is contained in:
Rossen Stoyanchev 2018-01-24 19:55:46 -05:00
parent 5d25ca29a6
commit 84cc7ffdf6
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class ServletServerHttpRequest implements ServerHttpRequest {
this.uri = new URI(urlString);
}
catch (URISyntaxException ex) {
if (true || !hasQuery) {
if (!hasQuery) {
throw new IllegalStateException("Could not resolve HttpServletRequest as URI: " + urlString, ex);
}
// Maybe a malformed query string... try plain request URL