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
+2 -1
View File
@@ -45,7 +45,8 @@ Issues fixed:
- [KT-10174](https://youtrack.jetbrains.com/issue/KT-10174) Optimize imports after applying "Move declaration to separate file" intention
- [KT-12035](https://youtrack.jetbrains.com/issue/KT-12035) Auto-format cast expressions
- [KT-12018](https://youtrack.jetbrains.com/issue/KT-12018) Auto-format spaces between function name and arguments in infix calls
- [KT-12067](https://youtrack.jetbrains.com/issue/KT-12067) Deadlock in Kotlin debugger fixed
- [KT-12067](https://youtrack.jetbrains.com/issue/KT-12067) Deadlock in Kotlin debugger is fixed
- [KT-12070](https://youtrack.jetbrains.com/issue/KT-12070) Add empty line in error message of Maven and Gradle configuration
#### Debugger
@@ -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");
}
}