mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
ComparatorCombinatorsInspection: fix chain extraction for incomplete code
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Replace with Comparator chain" "false"
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class Main {
|
||||
Comparator<String> cmp = (a, b) -> <caret>{
|
||||
int res = a.substring(1).compareTo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user