Missing new line in error message (KT-12070)

#KT-12070 Fixed
This commit is contained in:
Nikolay Krasko
2016-04-27 18:15:50 +03:00
parent 018622e552
commit faa2745731
3 changed files with 6 additions and 5 deletions
@@ -183,8 +183,8 @@ abstract class KotlinMavenConfigurator protected constructor(private val stdlibA
private fun showErrorMessage(project: Project, message: String?) {
Messages.showErrorDialog(project,
"<html>Couldn't configure kotlin-maven plugin automatically.<br/>" +
(message ?: "") +
"See manual installation instructions <a href=\"http://confluence.jetbrains.com/display/Kotlin/Kotlin+Build+Tools#KotlinBuildTools-Maven\">here</a></html>",
(if (message != null) "$message</br>" else "") +
"See manual installation instructions <a href=\"http://confluence.jetbrains.com/display/Kotlin/Kotlin+Build+Tools#KotlinBuildTools-Maven\">here</a>.</html>",
"Configure Kotlin-Maven Plugin")
}
}
@@ -474,8 +474,8 @@ public abstract class KotlinWithGradleConfigurator implements KotlinProjectConfi
private static void showErrorMessage(@NotNull Project project, @Nullable String message) {
Messages.showErrorDialog(project,
"<html>Couldn't configure kotlin-gradle plugin automatically.<br/>" +
(message != null ? message : "") +
"See manual installation instructions <a href=\"https://kotlinlang.org/docs/reference/using-gradle.html\">here</a></html>",
(message != null ? (message + "<br/>") : "") +
"<br/>See manual installation instructions <a href=\"https://kotlinlang.org/docs/reference/using-gradle.html\">here</a>.</html>",
"Configure Kotlin-Gradle Plugin");
}
}