Skip to content

Commit 848bd44

Browse files
zeeshanadnanjzheaux
authored andcommitted
Remove unused code
Issue gh-9203
1 parent 40e027c commit 848bd44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

web/src/main/java/org/springframework/security/web/savedrequest/CookieRequestCache.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.springframework.security.web.util.matcher.AnyRequestMatcher;
3030
import org.springframework.security.web.util.matcher.RequestMatcher;
3131
import org.springframework.util.Assert;
32-
import org.springframework.util.MultiValueMap;
3332
import org.springframework.util.StringUtils;
3433
import org.springframework.web.util.UriComponents;
3534
import org.springframework.web.util.UriComponentsBuilder;
@@ -77,7 +76,6 @@ public SavedRequest getRequest(HttpServletRequest request, HttpServletResponse r
7776
UriComponents uriComponents = UriComponentsBuilder.fromUriString(originalURI).build();
7877
DefaultSavedRequest.Builder builder = new DefaultSavedRequest.Builder();
7978
int port = getPort(uriComponents);
80-
MultiValueMap<String, String> queryParams = uriComponents.getQueryParams();
8179
return builder.setScheme(uriComponents.getScheme()).setServerName(uriComponents.getHost())
8280
.setRequestURI(uriComponents.getPath()).setQueryString(uriComponents.getQuery()).setServerPort(port)
8381
.setMethod(request.getMethod()).build();

0 commit comments

Comments
 (0)