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/05/14 02:00:15 UTC

[incubator-nlpcraft-java-client] branch develop-0.7.5 updated: Fix for Javadoc.

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

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


The following commit(s) were added to refs/heads/develop-0.7.5 by this push:
     new a5662f2  Fix for Javadoc.
a5662f2 is described below

commit a5662f2e6698b1576e741d0d353272dd06aa4f52
Author: unknown <ar...@datalingvo.com>
AuthorDate: Thu May 13 19:00:03 2021 -0700

    Fix for Javadoc.
---
 src/main/java/org/apache/nlpcraft/client/NCClient.java  | 6 +++---
 src/main/java/org/apache/nlpcraft/client/NCCompany.java | 5 ++---
 src/main/java/org/apache/nlpcraft/client/NCUser.java    | 4 ++--
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/main/java/org/apache/nlpcraft/client/NCClient.java b/src/main/java/org/apache/nlpcraft/client/NCClient.java
index d05269b..85d8552 100644
--- a/src/main/java/org/apache/nlpcraft/client/NCClient.java
+++ b/src/main/java/org/apache/nlpcraft/client/NCClient.java
@@ -339,7 +339,7 @@ public interface NCClient {
      *
      * @param mdlId ID of the model to submit the request to.
      * @param txt Text to process.
-     * @param data Optional JSON data payload. TODO:
+     * @param data Optional JSON data payload. Can be {@code null} or empty.
      * @param enableLog Whether or not to enable processing log collection.
      * @param usrId Optional user ID.
      * @param usrExtId Optional external "on-behalf-of" user ID.
@@ -467,7 +467,7 @@ public interface NCClient {
      * @param adminFirstName Optional company administrator first name.
      * @param adminLastName Optional company administrator last name.
      * @param adminAvatarUrl Optional company administrator avatar URL.
-     * @param properties TODO:
+     * @param properties Company metadata.
      * @return New company data.
      * @throws NCClientException Thrown in case of client-specific errors.
      * @throws IOException Thrown in case of generic I/O errors.
@@ -509,7 +509,7 @@ public interface NCClient {
      * @param city Optional company address city.
      * @param address Optional company address.
      * @param postalCode Optional company address postal code.
-     * @param properties TODO:
+     * @param properties Company metadata.
      * @throws NCClientException Thrown in case of client-specific errors.
      * @throws IOException Thrown in case of generic I/O errors.
      */
diff --git a/src/main/java/org/apache/nlpcraft/client/NCCompany.java b/src/main/java/org/apache/nlpcraft/client/NCCompany.java
index 0a02c34..93baac5 100644
--- a/src/main/java/org/apache/nlpcraft/client/NCCompany.java
+++ b/src/main/java/org/apache/nlpcraft/client/NCCompany.java
@@ -82,10 +82,9 @@ public interface NCCompany {
     String getPostalCode();
 
     /**
-     * TODO:
-     * Gets properties.
+     * Gets company properties (metadata).
      *
-     * @return Optional properties.
+     * @return Optional company properties (metadata).
      */
     Map<String, String> getProperties();
 }
diff --git a/src/main/java/org/apache/nlpcraft/client/NCUser.java b/src/main/java/org/apache/nlpcraft/client/NCUser.java
index 9ee6549..14989b1 100644
--- a/src/main/java/org/apache/nlpcraft/client/NCUser.java
+++ b/src/main/java/org/apache/nlpcraft/client/NCUser.java
@@ -76,9 +76,9 @@ public interface NCUser {
     String getExternalId();
     
     /**
-     * Gets properties.
+     * Gets user properties (metadata).
      *
-     * @return Optional properties.
+     * @return Optional user properties (metadata).
      */
     Map<String, String> getProperties();
 }