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/03/23 19:33:26 UTC
[incubator-nlpcraft] branch NLPCRAFT-278 updated: Update
NCIdlFunctionsUser.scala
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-278
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-278 by this push:
new 1c5b907 Update NCIdlFunctionsUser.scala
1c5b907 is described below
commit 1c5b907d8e8a0646d61de0c39431b605ed5a8453
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Tue Mar 23 12:33:17 2021 -0700
Update NCIdlFunctionsUser.scala
---
.../model/intent/idl/compiler/functions/NCIdlFunctionsUser.scala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsUser.scala b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsUser.scala
index 08cee47..771d748 100644
--- a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsUser.scala
+++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsUser.scala
@@ -47,9 +47,9 @@ class NCIdlFunctionsUser extends NCIdlFunctions {
new NCUser {
override def getId: Long = -1 // TODO: No REST API data (user_id() cannot be used)
override def getFirstName: Optional[String] = Optional.empty()
- override def getLastName: Optional[String] = Optional.empty
- override def getEmail: Optional[String] = Optional.empty
- override def getAvatarUrl: Optional[String] = Optional.empty
+ override def getLastName: Optional[String] = Optional.empty()
+ override def getEmail: Optional[String] = Optional.empty()
+ override def getAvatarUrl: Optional[String] = Optional.empty()
override def isAdmin: Boolean = false
override def getSignupTimestamp: Long = -1 // TODO: No REST API data (user_signup_tstamp() cannot be used)
override def getMetadata: util.Map[String, AnyRef] =