You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/02/19 01:54:42 UTC
[incubator-nlpcraft] branch NLPCRAFT-230 updated: Code review.
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-230
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-230 by this push:
new bf7e092 Code review.
bf7e092 is described below
commit bf7e092b7b1b016e0a36aeafb7bb9f52f67f49f4
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Thu Feb 18 17:54:29 2021 -0800
Code review.
---
.../org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
index 1d598f5..8d18804 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
@@ -1383,18 +1383,17 @@ object NCDeployManager extends NCService with DecorateAsScala {
if (lowBounds.nonEmpty || upBounds.size != 1 || upBounds(0) != CLS_TOKEN)
throw new NCE(
- s"Unexpected generic type for @NCIntentTerm annotated argument [" +
+ s"Unexpected Kotlin generic type for @NCIntentTerm annotated argument [" +
s"mdlId=$mdlId, " +
s"type=${wc2Str(wildcardType)}, " +
s"arg=${mkArg()}" +
- s"]"
- )
+ s"]")
case _ ⇒
throw new NCE(s"Unexpected generic type for @NCIntentTerm annotated argument [" +
s"mdlId=$mdlId, " +
s"type=${compType.getTypeName}, " +
s"arg=${mkArg()}" +
- s"]")
+ s"]")
}
case _ ⇒ throw new NCE(s"Unexpected parameter type for @NCIntentTerm annotated argument [" +