mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
StreamToLoopInspection: preserve comments; CommentTracker: now possible to delete element first and only after that register unchanged parts.
This commit is contained in:
+2
-1
@@ -5,9 +5,10 @@ import java.util.function.LongSupplier;
|
||||
|
||||
public class Main {
|
||||
private static void test(List<String> list) {
|
||||
// and filter!
|
||||
long count1 = 0;
|
||||
for (String s : list) {
|
||||
if (!s.isEmpty()) {
|
||||
if (!s/* comment */.isEmpty()) {
|
||||
count1++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user