mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
InvalidComparatorMethodReferenceInspection: fixes according to IDEA-CR-13278
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Replace with Comparator.reverseOrder()" "false"
|
||||
import java.util.function.IntBinaryOperator;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
IntBinaryOperator op = Math::m<caret>in;
|
||||
System.out.println(op.applyAsInt(1, 2));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user