mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AnnotationUtil#collectSuperParameters: redundant modifier list null-check reverted
Review ID: IDEA-CR-31796
This commit is contained in:
@@ -188,10 +188,7 @@ public class AnnotationUtil {
|
||||
Consumer<PsiMethod> forEachSuperMethod = method -> {
|
||||
PsiParameter[] superParameters = method.getParameterList().getParameters();
|
||||
if (index < superParameters.length) {
|
||||
PsiParameter superParameter = superParameters[index];
|
||||
if (superParameter.getModifierList() != null) {
|
||||
result.add(superParameter);
|
||||
}
|
||||
result.add(superParameters[index]);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user