diff --git a/platform/analysis-impl/src/com/intellij/codeInspection/ProblemDescriptorBase.java b/platform/analysis-impl/src/com/intellij/codeInspection/ProblemDescriptorBase.java index 880c14d56057..77f66ca81e91 100644 --- a/platform/analysis-impl/src/com/intellij/codeInspection/ProblemDescriptorBase.java +++ b/platform/analysis-impl/src/com/intellij/codeInspection/ProblemDescriptorBase.java @@ -50,10 +50,10 @@ public class ProblemDescriptorBase extends CommonProblemDescriptorImpl implement @NotNull ProblemHighlightType highlightType, boolean isAfterEndOfLine, @Nullable TextRange rangeInElement, - final boolean tooltip, + final boolean showTooltip, boolean onTheFly) { super(fixes, descriptionTemplate); - myShowTooltip = tooltip; + myShowTooltip = showTooltip; PsiFile startContainingFile = startElement.getContainingFile(); LOG.assertTrue(startContainingFile != null && startContainingFile.isValid() || startElement.isValid(), startElement); PsiFile endContainingFile = startElement == endElement ? startContainingFile : endElement.getContainingFile(); diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ex/ProblemDescriptorImpl.java b/platform/lang-impl/src/com/intellij/codeInspection/ex/ProblemDescriptorImpl.java index 9808055dac42..8a6a02eda827 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ex/ProblemDescriptorImpl.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ex/ProblemDescriptorImpl.java @@ -62,10 +62,10 @@ public class ProblemDescriptorImpl extends ProblemDescriptorBase { @NotNull ProblemHighlightType highlightType, boolean isAfterEndOfLine, @Nullable TextRange rangeInElement, - final boolean tooltip, + final boolean showTooltip, @Nullable HintAction hintAction, boolean onTheFly) { - super(startElement, endElement, descriptionTemplate, fixes, highlightType, isAfterEndOfLine, rangeInElement, tooltip, onTheFly); + super(startElement, endElement, descriptionTemplate, fixes, highlightType, isAfterEndOfLine, rangeInElement, showTooltip, onTheFly); myHintAction = hintAction; }