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 2020/08/17 01:02:16 UTC

[incubator-nlpcraft] branch NLPCRAFT-41 updated: Fixed compilation error.

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

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


The following commit(s) were added to refs/heads/NLPCRAFT-41 by this push:
     new d05825d  Fixed compilation error.
d05825d is described below

commit d05825dcccc8bf957c2b5d9dcfeed246fe0d675d
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sun Aug 16 18:02:01 2020 -0700

    Fixed compilation error.
---
 .../src/main/scala/org/apache/nlpcraft/common/socket/NCSocket.scala  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/socket/NCSocket.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/socket/NCSocket.scala
index f80ad85..026a73a 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/socket/NCSocket.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/socket/NCSocket.scala
@@ -150,9 +150,8 @@ object NCSocket {
      *
      * @param host
      * @param port
-     * @param soTimeout
      * @return
      */
-    def apply(host: String, port: Integer, soTimeout: Int = 20000): NCSocket =
-        NCSocket(new Socket(host, port), host,  soTimeout)
+    def apply(host: String, port: Integer): NCSocket =
+        new NCSocket(new Socket(host, port), host)
 }
\ No newline at end of file