Fixed link to error icon in IDEA 2018.2

#KT-24736 Fixed
This commit is contained in:
Alexander Podkhalyuzin
2018-06-04 10:16:03 +03:00
parent 73ec82e544
commit 4883fbfd23
3 changed files with 25 additions and 1 deletions
@@ -0,0 +1,12 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.highlighter;
public class ErrorIconUtil {
public static String getErrorIconUrl() {
return "/general/error.png";
}
}
@@ -0,0 +1,12 @@
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.idea.highlighter;
public class ErrorIconUtil {
public static String getErrorIconUrl() {
return "/ide/error.png";
}
}
@@ -155,7 +155,7 @@ public class IdeErrorMessages {
MAP.put(CONFLICTING_JVM_DECLARATIONS, "<html>Platform declaration clash: {0}</html>", HTML_CONFLICTING_JVM_DECLARATIONS_DATA);
MAP.put(ACCIDENTAL_OVERRIDE, "<html>Accidental override: {0}</html>", HTML_CONFLICTING_JVM_DECLARATIONS_DATA);
URL errorIconUrl = AllIcons.class.getResource("/general/error.png");
URL errorIconUrl = AllIcons.class.getResource(ErrorIconUtil.getErrorIconUrl());
MAP.put(EXCEPTION_FROM_ANALYZER, "<html>Internal Error occurred while analyzing this expression <br/>" +
"<table cellspacing=\"0\" cellpadding=\"0\">" +
"<tr>" +