This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-296
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-296 by this push:
new 10de9ed Update NCDeployManager.scala
10de9ed is described below
commit 10de9edbb477ce7c0e9ff1d6400e72bbd67cc195
Author: unknown <[email protected]>
AuthorDate: Thu Jun 10 09:19:03 2021 -0700
Update NCDeployManager.scala
---
.../org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala | 5 +++--
1 file changed, 3 insertions(+), 2 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 2e84a24..0dd5ffe 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
@@ -426,6 +426,7 @@ object NCDeployManager extends NCService {
.groupBy(_.origText)
.map(x => (x._1, x._2.map(_.alias).filter(_ != null)))
.values
+ .toSeq
.flatten
.toList
@@ -1290,9 +1291,9 @@ object NCDeployManager extends NCService {
// Array of tokens.
else if (paramCls.isArray)
argList.asScala.toArray
- // Scala and java list of tokens.
+ // Scala and Java list of tokens.
else if (paramCls == CLS_SCALA_SEQ)
- argList.asScala
+ argList.asScala.toSeq
else if (paramCls == CLS_SCALA_LST)
argList.asScala.toList
else if (paramCls == CLS_JAVA_LST)