This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch NLPCRAFT-283
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-283 by this push:
     new 1dc95de  WIP.
1dc95de is described below

commit 1dc95de1052968c8f5bcaf116a78e051557fe406
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Mar 25 12:57:26 2021 +0300

    WIP.
---
 .../nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
index 9e83290..052a3b9 100644
--- 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
+++ 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
@@ -80,7 +80,7 @@ private[functions] trait NCIdlFunctions {
             TestDesc(truth = truth, token = Some(token))
     }
 
-    private def t2s(t: NCToken) = {
+    private def t2s(t: NCToken): String = {
         def nvl(s: String, name: String): String = if (s != null) s else 
s"$name (not set)"
 
         s"text=${nvl(t.getOriginalText, "text")} [${nvl(t.getId, "id")}]"

Reply via email to