mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CaughtExceptionImmediatelyRethrownInspection: redundant condition removed
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ public class CaughtExceptionImmediatelyRethrownInspection extends BaseInspection
|
||||
final PsiTryStatement tryStatement = catchSection.getTryStatement();
|
||||
final PsiCatchSection[] catchSections = tryStatement.getCatchSections();
|
||||
int index = 0;
|
||||
while (catchSections[index] != catchSection && index < catchSections.length) {
|
||||
while (catchSections[index] != catchSection) {
|
||||
index++;
|
||||
}
|
||||
final PsiType type = parameter.getType();
|
||||
|
||||
Reference in New Issue
Block a user