From 316dcccc30b227eb9f3b7c8fdf6e776a46ca0ba5 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Wed, 20 Feb 2019 18:34:10 +0300 Subject: [PATCH] Minor: Capitalize word "Kotlin" in error messages --- .../idea/debugger/evaluate/KotlinEvaluationBuilder.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluationBuilder.kt b/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluationBuilder.kt index cf7a95b82f9..e7ad1558ca0 100644 --- a/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluationBuilder.kt +++ b/idea/idea-jvm/src/org/jetbrains/kotlin/idea/debugger/evaluate/KotlinEvaluationBuilder.kt @@ -87,7 +87,7 @@ object KotlinEvaluationBuilder : EvaluatorBuilder { } if (position.line < 0) { - evaluationException("Couldn't evaluate kotlin expression at $position") + evaluationException("Couldn't evaluate Kotlin expression at $position") } val file = position.file @@ -95,7 +95,7 @@ object KotlinEvaluationBuilder : EvaluatorBuilder { val document = PsiDocumentManager.getInstance(file.project).getDocument(file) if (document == null || document.lineCount < position.line) { evaluationException( - "Couldn't evaluate kotlin expression: breakpoint is placed outside the file. " + + "Couldn't evaluate Kotlin expression: breakpoint is placed outside the file. " + "It may happen when you've changed source file after starting a debug process." ) } @@ -112,7 +112,7 @@ object KotlinEvaluationBuilder : EvaluatorBuilder { "Trying to evaluate ${codeFragment::class.java} with context ${codeFragment.context?.javaClass}", mergeAttachments(*attachments) ) - evaluationException("Couldn't evaluate kotlin expression in this context") + evaluationException("Couldn't evaluate Kotlin expression in this context") } return ExpressionEvaluatorImpl(KotlinEvaluator(codeFragment, position))