public void visitTryStatement(PsiTryStatement statement) {
super.visitTryStatement(statement);
if (!PsiUtil.isLanguageLevel7OrHigher(statement)) {
return;
}
<BUG>PsiCatchSection[] catchSections = statement.getCatchSections();

boolean[] duplicates = new boolean[catchSections.length];

for (int i = 0; i < catchSections.length; i++) {

if (duplicates[i]) continue;</BUG>
final PsiCatchSection catchSection = catchSections[i];

public void visitTryStatement(PsiTryStatement statement) {
super.visitTryStatement(statement);
if (!PsiUtil.isLanguageLevel7OrHigher(statement)) {
return;
}
final PsiCatchSection[] catchSections = statement.getCatchSections();
if (catchSections.length < 2) {
return;
}
final boolean[] duplicates = new boolean[catchSections.length];
for (int i = 0; i < catchSections.length - 1; i++) {
final PsiCatchSection catchSection = catchSections[i];
