parentheses should be removed from a single lambda input parameter when its type is inferred
This commit is contained in:
committed by
Juergen Hoeller
parent
0c45c4c6a3
commit
d89f9af22d
@@ -58,7 +58,7 @@ public interface RequestPredicate {
|
||||
* @return a predicate that represents the logical negation of this predicate
|
||||
*/
|
||||
default RequestPredicate negate() {
|
||||
return (t) -> !test(t);
|
||||
return t -> !test(t);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user