Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
19cc2af0
Commit
19cc2af0
authored
7 years ago
by
Tagir Valeev
Browse files
Options
Download
Email Patches
Plain Diff
AnnotationUtil#collectSuperParameters: redundant modifier list null-check reverted
Review ID: IDEA-CR-31796
parent
1d7f0552
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/java-psi-api/src/com/intellij/codeInsight/AnnotationUtil.java
+1
-4
...-psi-api/src/com/intellij/codeInsight/AnnotationUtil.java
with
1 addition
and
4 deletions
+1
-4
java/java-psi-api/src/com/intellij/codeInsight/AnnotationUtil.java
+
1
-
4
View file @
19cc2af0
...
...
@@ -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
]);
}
};
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help