Fixed link to error icon in IDEA 2018.2
#KT-24736 Fixed
This commit is contained in:
@@ -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(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);
|
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/>" +
|
MAP.put(EXCEPTION_FROM_ANALYZER, "<html>Internal Error occurred while analyzing this expression <br/>" +
|
||||||
"<table cellspacing=\"0\" cellpadding=\"0\">" +
|
"<table cellspacing=\"0\" cellpadding=\"0\">" +
|
||||||
"<tr>" +
|
"<tr>" +
|
||||||
|
|||||||
Reference in New Issue
Block a user