blob: e86b7d8e9298735335349ec65688bca50766aaa5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package com.puppycrawl.tools.checkstyle.checks.whitespace;
import java.util.function.*;
public class InputAllowEmptyLambdaExpressions {
Runnable noop = () -> {};
Runnable noop2 = () -> {
int x = 10;
};
BinaryOperator<Integer> sum = (x, y) -> x + y;
Runnable noop3 = () -> {;};
Runnable noop4 = () -> {new String();};
}
|