renatoh commented on code in PR #2932: URL: https://github.com/apache/solr/pull/2932#discussion_r1909977436
########## solr/solrj/src/java/org/apache/solr/common/util/SimpleOrderedMap.java: ########## @@ -67,4 +70,8 @@ public SimpleOrderedMap<T> clone() { newList.addAll(nvPairs); return new SimpleOrderedMap<>(newList); } + + public static SimpleOrderedMap<Object> emptySimpleOrderedMap() { Review Comment: ok, I see you point regarding of() vs empty(). I looked at how it is done on the List and have implemented some more of()-method for 1,2 and n-elements. what do you think? -- 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