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
b1138fe3
Commit
b1138fe3
authored
8 years ago
by
Anna.Kozlova
Browse files
Options
Download
Email Patches
Plain Diff
don't merge different descriptions at same start offset
parent
1d95e4ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
platform/analysis-api/src/com/intellij/codeInspection/CommonProblemDescriptor.java
+5
-2
.../com/intellij/codeInspection/CommonProblemDescriptor.java
with
5 additions
and
2 deletions
+5
-2
platform/analysis-api/src/com/intellij/codeInspection/CommonProblemDescriptor.java
+
5
-
2
View file @
b1138fe3
...
...
@@ -36,8 +36,11 @@ public interface CommonProblemDescriptor {
if
(
diff
!=
0
)
{
return
diff
;
}
return
PsiUtilCore
.
compareElementsByPosition
(((
ProblemDescriptor
)
c2
).
getPsiElement
(),
((
ProblemDescriptor
)
c1
).
getPsiElement
());
diff
=
PsiUtilCore
.
compareElementsByPosition
(((
ProblemDescriptor
)
c2
).
getPsiElement
(),
((
ProblemDescriptor
)
c1
).
getPsiElement
());
if
(
diff
!=
0
)
{
return
diff
;
}
}
return
c1
.
getDescriptionTemplate
().
compareTo
(
c2
.
getDescriptionTemplate
());
};
...
...
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