Remove unused type parameter declaration in RequestResultMatchers

The new sessionAttributeDoesNotExist() method introduced in commit
e73344fc71 declares an unused type
parameter <T>.

This commit removes that unused type parameter from the method
signature.

See gh-23756
This commit is contained in:
Sam Brannen 2019-10-23 14:27:00 +02:00
parent eabf357640
commit 6c4ac8f9c9
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ public class RequestResultMatchers {
* Assert the given session attributes do not exist.
* @since 5.2.1
*/
public <T> ResultMatcher sessionAttributeDoesNotExist(String... names) {
public ResultMatcher sessionAttributeDoesNotExist(String... names) {
return result -> {
HttpSession session = result.getRequest().getSession();
Assert.state(session != null, "No HttpSession");