From e613e3523e075a3b76948d6b393bbf147fa9395f Mon Sep 17 00:00:00 2001 From: Natalia Ukhorskaya Date: Thu, 9 Oct 2014 12:47:21 +0400 Subject: [PATCH] Minor: fix warnings --- .../plugin/debugger/evaluate/extractFunctionForDebuggerUtil.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/src/org/jetbrains/jet/plugin/debugger/evaluate/extractFunctionForDebuggerUtil.kt b/idea/src/org/jetbrains/jet/plugin/debugger/evaluate/extractFunctionForDebuggerUtil.kt index fd70e66c43f..bdafd3c3e7e 100644 --- a/idea/src/org/jetbrains/jet/plugin/debugger/evaluate/extractFunctionForDebuggerUtil.kt +++ b/idea/src/org/jetbrains/jet/plugin/debugger/evaluate/extractFunctionForDebuggerUtil.kt @@ -105,7 +105,7 @@ fun getFunctionForExtractedFragment( val validationResult = analysisResult.descriptor!!.validate() if (!validationResult.conflicts.isEmpty()) { - throw EvaluateExceptionUtil.createEvaluateException("Following declarations are unavailable in debug scope: ${validationResult.conflicts.keySet()?.map { it.getText() }?.makeString(",")}") + throw EvaluateExceptionUtil.createEvaluateException("Following declarations are unavailable in debug scope: ${validationResult.conflicts.keySet().map { it.getText() }.joinToString(",")}") } return validationResult.descriptor