Commit 19cc2af0 authored by Tagir Valeev's avatar Tagir Valeev
Browse files

AnnotationUtil#collectSuperParameters: redundant modifier list null-check reverted

Review ID: IDEA-CR-31796
parent 1d7f0552
Branches unavailable Tags unavailable
No related merge requests found
Showing with 1 addition and 4 deletions
+1 -4
......@@ -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]);
}
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment