From b5e6dffa4f75c1a2608ba16b5a9c4a4ee9355cd0 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 14 Feb 2024 16:47:30 +0100 Subject: [PATCH] docs(spdx-utils): Correct a double "not not" in an exception message Signed-off-by: Sebastian Schuberth --- utils/spdx/src/main/kotlin/SpdxExpression.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/spdx/src/main/kotlin/SpdxExpression.kt b/utils/spdx/src/main/kotlin/SpdxExpression.kt index 902ff0d72a95e..26397044cad82 100644 --- a/utils/spdx/src/main/kotlin/SpdxExpression.kt +++ b/utils/spdx/src/main/kotlin/SpdxExpression.kt @@ -290,7 +290,7 @@ class SpdxCompoundExpression( } if (!isSubExpression(subExpression)) { - throw InvalidSubExpressionException("$subExpression is not not a valid subExpression of $this") + throw InvalidSubExpressionException("$subExpression is not a valid subExpression of $this") } return replaceSubexpressionWithChoice(subExpression, choice)