sigram commented on a change in pull request #1506:
URL: https://github.com/apache/lucene-solr/pull/1506#discussion_r429854938



##########
File path: solr/solrj/src/java/org/apache/solr/client/solrj/io/Tuple.java
##########
@@ -44,24 +45,35 @@
   public boolean EOF;
   public boolean EXCEPTION;
 
-  public Map fields = new HashMap();
+  public Map<Object, Object> fields = new HashMap<>(2);
   public List<String> fieldNames;
   public Map<String, String> fieldLabels;
 
-  public Tuple(){
+  public Tuple() {
     // just an empty tuple
   }
   
-  public Tuple(Map fields) {
-    if(fields.containsKey("EOF")) {
-      EOF = true;
+  public Tuple(Map<?, ?> fields) {

Review comment:
       Added.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to