You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by se...@apache.org on 2021/07/08 07:28:37 UTC
[incubator-nlpcraft] branch NLPCRAFT-359 updated: WIP.
This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-359
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-359 by this push:
new 4ee8411 WIP.
4ee8411 is described below
commit 4ee8411967e7404d248c829bcc87c618f68880d1
Author: Sergey Kamov <sk...@gmail.com>
AuthorDate: Thu Jul 8 10:28:26 2021 +0300
WIP.
---
.../scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 b081798..0657c89 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
@@ -1623,7 +1623,7 @@ object NCDeployManager extends NCService {
}
else {
def read[T](arr: Array[T], claxx: Class[_], getValue: T => Seq[String]): Seq[Seq[String]] = {
- val seq = arr.toSeq.map(getValue)
+ val seq = arr.toSeq.map(getValue).map(_.map(_.strip))
if (seq.exists(_.isEmpty))
logger.warn(s"@${claxx.getName} annotation is empty: $mtdStr")