Commit b1138fe3 authored by Anna.Kozlova's avatar Anna.Kozlova
Browse files

don't merge different descriptions at same start offset

parent 1d95e4ee
Showing with 5 additions and 2 deletions
+5 -2
......@@ -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());
};
......
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