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:
parent
eabf357640
commit
6c4ac8f9c9
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue