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

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


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

commit aac1369081daba3e3f742978cb79d43ec558f5c5
Author: Sergey Kamov <[email protected]>
AuthorDate: Thu Apr 22 18:16:51 2021 +0300

    WIP.
---
 .../main/java}/org/apache/nlpcraft/examples/echo/EchoModel.scala  | 8 ++++----
 .../java}/org/apache/nlpcraft/examples/sql/NCSqlModelSpec.scala   | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/echo/EchoModel.scala 
b/nlpcraft-examples/echo/src/main/java/org/apache/nlpcraft/examples/echo/EchoModel.scala
similarity index 100%
rename from 
nlpcraft/src/main/scala/org/apache/nlpcraft/examples/echo/EchoModel.scala
rename to 
nlpcraft-examples/echo/src/main/java/org/apache/nlpcraft/examples/echo/EchoModel.scala
index a24b91a..15c509b 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/examples/echo/EchoModel.scala
+++ 
b/nlpcraft-examples/echo/src/main/java/org/apache/nlpcraft/examples/echo/EchoModel.scala
@@ -1,3 +1,5 @@
+package org.apache.nlpcraft.examples.echo
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
@@ -15,13 +17,11 @@
  * limitations under the License.
  */
 
-package org.apache.nlpcraft.examples.echo
-
-import java.util
-
 import com.google.gson.Gson
 import org.apache.nlpcraft.model._
 
+import java.util
+
 /**
   * Echo example data model.
   * <p>
diff --git 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlModelSpec.scala 
b/nlpcraft-examples/sql/src/test/java/org/apache/nlpcraft/examples/sql/NCSqlModelSpec.scala
similarity index 98%
rename from 
nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlModelSpec.scala
rename to 
nlpcraft-examples/sql/src/test/java/org/apache/nlpcraft/examples/sql/NCSqlModelSpec.scala
index 55dd983..d7e6852 100644
--- 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/examples/sql/NCSqlModelSpec.scala
+++ 
b/nlpcraft-examples/sql/src/test/java/org/apache/nlpcraft/examples/sql/NCSqlModelSpec.scala
@@ -17,15 +17,15 @@
 
 package org.apache.nlpcraft.examples.sql
 
-import java.util
-
 import org.apache.nlpcraft.NCTestEnvironment
 import org.apache.nlpcraft.examples.sql.db.SqlServer
 import org.apache.nlpcraft.model.NCElement
 import org.apache.nlpcraft.probe.mgrs.nlp.enrichers.NCTestSortTokenType._
-import org.apache.nlpcraft.probe.mgrs.nlp.enrichers.{NCDefaultTestModel, 
NCEnricherBaseSpec, NCTestDateToken => dte, NCTestLimitToken => lim, 
NCTestNlpToken => nlp, NCTestSortToken => srt, NCTestUserToken => usr}
+import org.apache.nlpcraft.probe.mgrs.nlp.enrichers.{NCDefaultTestModel, 
NCEnricherBaseSpec, NCTestDateToken => dte, NCTestLimitToken ⇒ lim, 
NCTestNlpToken ⇒ nlp, NCTestSortToken ⇒ srt, NCTestUserToken ⇒ usr}
 import org.junit.jupiter.api.Test
 
+import java.util
+
 class NCSqlModelWrapper extends NCDefaultTestModel {
     private val delegate = new SqlModel()
 

Reply via email to