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
@@ -142,7 +142,7 @@ public class SynchronossPartHttpMessageReader implements HttpMessageReader<Part>
|
||||
finally {
|
||||
DataBufferUtils.release(buffer);
|
||||
}
|
||||
}, (ex) -> {
|
||||
}, ex -> {
|
||||
try {
|
||||
listener.onError("Request body input error", ex);
|
||||
parser.close();
|
||||
|
||||
@@ -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