From ff7a8056f201c085b54e5e2693a06f74c8eef4c8 Mon Sep 17 00:00:00 2001 From: Piotr Rudnicki Date: Tue, 17 Dec 2024 16:17:03 +0100 Subject: [PATCH] remove double negation --- .../nussknacker/engine/spel/SpelExpressionParseError.scala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scenario-compiler/src/main/scala/pl/touk/nussknacker/engine/spel/SpelExpressionParseError.scala b/scenario-compiler/src/main/scala/pl/touk/nussknacker/engine/spel/SpelExpressionParseError.scala index ac53ef6d3f8..49b27a7f186 100644 --- a/scenario-compiler/src/main/scala/pl/touk/nussknacker/engine/spel/SpelExpressionParseError.scala +++ b/scenario-compiler/src/main/scala/pl/touk/nussknacker/engine/spel/SpelExpressionParseError.scala @@ -39,8 +39,11 @@ object SpelExpressionParseError { } case object MapWithExpressionKeysError extends UnsupportedOperationError { - override def message: String = - "Currently inline maps with not literal stringy keys (e.g. expressions as keys, numerals) are not supported" + + override def message: String = { + "Currently only string keys for inline maps are supported" + } + } case object ArrayConstructorError extends UnsupportedOperationError {