mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
ComparatorCombinatorsInspection: fixed for incomplete statement (EA-90916)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Replace with Comparator.comparingInt" "false"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
void sort(List<String> data) {
|
||||
data.sort((d1, d2) -> d1.le<caret>ngth() - );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user