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

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


The following commit(s) were added to refs/heads/NLPCRAFT-326-Scala3 by this 
push:
     new 865394d  WIP.
865394d is described below

commit 865394db455cdd5e2a25fd1848512b9230d4dec9
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Thu May 20 18:23:34 2021 -0700

    WIP.
---
 .../main/scala/org/apache/nlpcraft/common/ansi/NCAnsiSpinner.scala    | 4 +---
 pom.xml                                                               | 1 +
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiSpinner.scala 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiSpinner.scala
index 1ae0ad6..3567577 100644
--- 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiSpinner.scala
+++ 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiSpinner.scala
@@ -103,9 +103,7 @@ class NCAnsiSpinner(out: PrintWriter, useAnsi: Boolean = 
true) {
      */
     def stop(): Unit = {
         U.stopThread(thread)
-
-        if true then 1 else 0
-
+        
         if (useAnsi && frame > 0) mux.synchronized {
             clean()
 
diff --git a/pom.xml b/pom.xml
index d7f11c3..a412877 100644
--- a/pom.xml
+++ b/pom.xml
@@ -510,6 +510,7 @@
                     <args>
                         <arg>-Ytasty-reader</arg>
                     </args>
+                    <scalaVersion>3.0.0</scalaVersion>
                 </configuration>
                 <executions>
                     <execution>

Reply via email to