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/09/18 07:39:38 UTC

[incubator-nlpcraft] branch master updated: Update NCTestClientBuilder.java

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d582c77  Update NCTestClientBuilder.java
     new fcae55b  Merge branch 'master' of https://github.com/apache/incubator-nlpcraft
d582c77 is described below

commit d582c77b034967447ffb2a8276c0cc98f716164f
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Fri Sep 18 00:39:16 2020 -0700

    Update NCTestClientBuilder.java
---
 .../org/apache/nlpcraft/model/tools/test/NCTestClientBuilder.java      | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestClientBuilder.java b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestClientBuilder.java
index 0458d1d..ba12de1 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestClientBuilder.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestClientBuilder.java
@@ -32,7 +32,6 @@ import org.apache.http.entity.StringEntity;
 import org.apache.http.impl.client.CloseableHttpClient;
 import org.apache.http.impl.client.HttpClients;
 import org.apache.http.util.EntityUtils;
-import org.apache.nlpcraft.common.util.NCUtils;
 import org.jsoup.Jsoup;
 import org.apache.nlpcraft.model.tools.embedded.NCEmbeddedProbe;
 import org.apache.nlpcraft.model.tools.embedded.NCEmbeddedResult;
@@ -691,7 +690,7 @@ public class NCTestClientBuilder {
                     case "text":
                     case "yaml":
                     case "json": // JSON already configured for pretty printing.
-                        return NCUtils.colorJson(body);
+                        return org.apache.nlpcraft.common.util.NCUtils.colorJson(body);
 
                     default: return body;
                 }