From da4fb3eb05adf07dc762b7594123b7f8bdbdebbe Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Wed, 19 Nov 2014 12:35:31 +0300 Subject: [PATCH] better param name --- .../codeInsight/daemon/impl/IdentifierHighlighterPass.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/IdentifierHighlighterPass.java b/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/IdentifierHighlighterPass.java index 1ac3921c9b9a..94538a518e1d 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/IdentifierHighlighterPass.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/IdentifierHighlighterPass.java @@ -123,7 +123,7 @@ public class IdentifierHighlighterPass extends TextEditorHighlightingPass { * @param psiFile psi file for element * @return a pair where first element is read usages and second is write usages */ - public static Couple> getHighlightUsages(@NotNull PsiElement target, PsiFile psiFile, boolean withDecls) { + public static Couple> getHighlightUsages(@NotNull PsiElement target, PsiFile psiFile, boolean withDeclarations) { Collection readRanges = new ArrayList(); Collection writeRanges = new ArrayList(); final ReadWriteAccessDetector detector = ReadWriteAccessDetector.findDetector(target); @@ -143,7 +143,7 @@ public class IdentifierHighlighterPass extends TextEditorHighlightingPass { } } - if (withDecls) { + if (withDeclarations) { final TextRange declRange = HighlightUsagesHandler.getNameIdentifierRange(psiFile, target); if (declRange != null) { if (detector != null && detector.isDeclarationWriteAccess(target)) {