parentheses should be removed from a single lambda input parameter when its type is inferred

This commit is contained in:
igor-suhorukov
2018-03-08 23:51:23 +03:00
committed by Juergen Hoeller
parent 0c45c4c6a3
commit d89f9af22d
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}
/**