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

epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new f1d05796498 SOLR-15582: Remove deprecated APIs in solrj Tuple class. 
(#257)
f1d05796498 is described below

commit f1d0579649831eef9fb6d327203173956582f878
Author: Christine Poerschke <[email protected]>
AuthorDate: Sat Jun 22 16:24:33 2024 +0100

    SOLR-15582: Remove deprecated APIs in solrj Tuple class. (#257)
---
 .../src/java/org/apache/solr/client/solrj/io/Tuple.java      | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git 
a/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/Tuple.java 
b/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/Tuple.java
index fdf992a9ed4..6e2f62ce91c 100644
--- a/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/Tuple.java
+++ b/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/Tuple.java
@@ -49,8 +49,13 @@ public class Tuple implements Cloneable, MapWriter {
    */
   public boolean EXCEPTION;
 
+  /** Tuple fields. */
   private final Map<String, Object> fields = CollectionUtil.newHashMap(2);
+
+  /** External serializable field names. */
   private List<String> fieldNames;
+
+  /** Mapping of external field names to internal tuple field names. */
   private Map<String, String> fieldLabels;
 
   public Tuple() {
@@ -242,7 +247,7 @@ public class Tuple implements Cloneable, MapWriter {
 
   /**
    * A list of field names to serialize. This list (together with the mapping 
in {@link
-   * #getFieldLabels()} determines what tuple values are serialized and their 
external (serialized)
+   * #getFieldLabels()}) determines what tuple values are serialized and their 
external (serialized)
    * names.
    *
    * @return list of external field names or null
@@ -279,8 +284,9 @@ public class Tuple implements Cloneable, MapWriter {
   }
 
   /**
-   * The other tuples fields and fieldLabels will be putAll'd directly to 
this's fields and
-   * fieldLabels while other's fieldNames will be added such that duplicates 
aren't present.
+   * The other tuples fields and fieldLabels will be merged via putAll 
directly into this Tuple's
+   * fields and fieldLabels while other's fieldNames will be added such that 
duplicates aren't
+   * present.
    *
    * @param other Tuple to be merged into this.
    */

Reply via email to