This commit is contained in:
Alexey Kudravtsev
2017-02-21 15:54:31 +03:00
parent 9e95fe0b7f
commit efa13a57db
2 changed files with 4 additions and 4 deletions
@@ -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();
@@ -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;
}