From edd7a695897d2fa0f2884050facef1547fc81212 Mon Sep 17 00:00:00 2001 From: Eugene Vigdorchik Date: Mon, 7 Feb 2005 14:15:15 +0300 Subject: [PATCH] fixed jsp holder method getNextSibling() --- .../codeInsight/daemon/impl/LocalInspectionsPass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/com/intellij/codeInsight/daemon/impl/LocalInspectionsPass.java b/source/com/intellij/codeInsight/daemon/impl/LocalInspectionsPass.java index 758efaa2b97e..a3cb7476b98f 100644 --- a/source/com/intellij/codeInsight/daemon/impl/LocalInspectionsPass.java +++ b/source/com/intellij/codeInsight/daemon/impl/LocalInspectionsPass.java @@ -90,11 +90,11 @@ public class LocalInspectionsPass extends TextEditorHighlightingPass { myTools = new ArrayList(); LocalInspectionTool[] tools = DaemonCodeAnalyzerSettings.getInstance().getInspectionProfile().getHighlightingLocalInspectionTools(); - for (Iterator iterator = workSet.iterator(); iterator.hasNext();) { + for (Iterator iterator = workSet.iterator(); iterator.hasNext();) { ProgressManager.getInstance().checkCanceled(); LocalInspectionTool currentTool = null; try { - PsiElement element = (PsiElement)iterator.next(); + PsiElement element = iterator.next(); if (element instanceof PsiMethod) { PsiMethod psiMethod = (PsiMethod)element; for (int k = 0; k < tools.length; k++) {