mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-11 16:00:53 +07:00
818b20eff3
Review ID: IDEA-CR-28770
6 lines
234 B
Java
6 lines
234 B
Java
// "Remove 'comparingInt()' call and use 'thenComparingInt()'" "true"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
Comparator<String> cmp = Comparator.comparing(String::length).thenComparing(Comparator.c<caret>omparingInt(s -> s.charAt(1)));
|
|
} |