mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Suppress unchecked cast warning
This commit is contained in:
@@ -125,6 +125,7 @@ public class PyUtil {
|
||||
List<T> result = new SmartList<T>();
|
||||
for (PsiElement child : element.getChildren()) {
|
||||
if (instanceOf(child, aClass)) {
|
||||
//noinspection unchecked
|
||||
result.add((T)child);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user