pvcnt commented on code in PR #2039: URL: https://github.com/apache/solr/pull/2039#discussion_r1409390333
########## solr/solrj/src/java/org/apache/solr/common/cloud/DocCollection.java: ########## @@ -262,12 +258,17 @@ public static Object verifyProp(Map<String, Object> props, String propName) { public static Object verifyProp(Map<String, Object> props, String propName, Object def) { Object o = props.get(propName); - if (o == null) return def; + if (o == null) { + return def; + } + // Properties associated with a number of replicas are parsed as integers. Review Comment: Sounds good, done. -- 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