blob: b8bc4eb0976018c60ab08d97cb7e1d0bdbf8da03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Compilable with Java8
package com.puppycrawl.tools.checkstyle.checks.whitespace;
import java.util.function.Function;
import java.util.function.IntFunction;
public class InputNoWhitespaceAfterMethodRef
{
IntFunction<int[]> arrayMaker = int []::new;//incorrect 10:40
Function<Integer, String[]> messageArrayFactory = String []::new;//incorrect 11:63
}
|