mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
UseBulkOperationInspection: deparenthesize qualifier
This commit is contained in:
@@ -6,6 +6,6 @@ public class Collect {
|
||||
|
||||
void collectNames(List<Person> persons){
|
||||
List<Person> names = new ArrayList<>();
|
||||
names.addAll(persons);
|
||||
(names).addAll(persons);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ public class Collect {
|
||||
List<Person> names = new ArrayList<>();
|
||||
for(int i = 0; i<persons.size(); i = i + 1) {
|
||||
Person p = persons.get(i);
|
||||
names.<caret>add(p);
|
||||
(names).<caret>add(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user