Jdurham2843 commented on a change in pull request #243: URL: https://github.com/apache/solr/pull/243#discussion_r683834131
########## File path: solr/solrj/src/java/org/apache/solr/client/solrj/io/Tuple.java ########## @@ -276,14 +282,12 @@ public void setMetrics(Map<String, Map<?,?>> metrics) { public Tuple clone() { Tuple clone = new Tuple(); - clone.fields.putAll(fields); - // TODO This doesn't copy EOF/Exception https://issues.apache.org/jira/browse/SOLR-15480 + clone.putAll(fields); Review comment: Sure! Should I shorten it all the way down to a one line `return new Tuple(this.fields);`? I'm not sure what the general style is like around here, but I generally like doing assignment then return vs just return, mostly for debugging purposes, but I'm fine either way. -- 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. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org