mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-170771 Remove redundant condition checking
This commit is contained in:
@@ -296,13 +296,11 @@ public class ClassesTable extends JBTable implements DataProvider, Disposable {
|
||||
}
|
||||
|
||||
public void clean() {
|
||||
if (!myItems.isEmpty()) {
|
||||
clearSelection();
|
||||
myItems = Collections.emptyList();
|
||||
myCounts.clear();
|
||||
myModel.mySelectedClassWhenHidden = null;
|
||||
fireTableDataChanged();
|
||||
}
|
||||
clearSelection();
|
||||
myItems = Collections.emptyList();
|
||||
myCounts.clear();
|
||||
myModel.mySelectedClassWhenHidden = null;
|
||||
fireTableDataChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user