mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-12 14:54:38 +07:00
6 lines
230 B
Java
6 lines
230 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)));
|
|
} |