mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-17 21:35:05 +07:00
6 lines
201 B
Java
6 lines
201 B
Java
// "Remove 'comparingInt' call and use 'thenComparingInt'" "true"
|
|
import java.util.*;
|
|
|
|
class Test {
|
|
Comparator<String> cmp = Comparator.comparing(String::length).thenComparingInt(s -> s.charAt(1));
|
|
} |