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 4f49eff Update NCIdlFunctions.scala
4f49eff is described below
commit 4f49eff73bb6f067154ebafb4a3275192987a8d5
Author: unknown <[email protected]>
AuthorDate: Tue Jun 8 14:03:44 2021 -0700
Update NCIdlFunctions.scala
---
.../nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 8acfc81..9587f40 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
@@ -153,8 +153,7 @@ private[functions] trait NCIdlFunctions {
override def getPartTokens: util.List[NCToken] = partTokens.asJava
override def getAliases: util.Set[String] = aliases.asJava
override def getValue: String = value
- override def getGroups: util.List[String] =
- if (groups.isEmpty && id != null)
Collections.singletonList(id) else groups.asJava
+ override def getGroups: util.List[String] = if (groups.isEmpty &&
id != null) Collections.singletonList(id) else groups.asJava
override def getStartCharIndex: Int = start
override def getEndCharIndex: Int = end
override def isAbstract: Boolean = isAbstr