[ https://issues.apache.org/jira/browse/SOLR-4925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682475#comment-13682475 ]
Noble Paul commented on SOLR-4925: ---------------------------------- Actually Integer.valueOf() internally calls the parseInt . However Integer.valueOf(val) is better > Collection create throws NPE when 'numShards' param is missing > -------------------------------------------------------------- > > Key: SOLR-4925 > URL: https://issues.apache.org/jira/browse/SOLR-4925 > Project: Solr > Issue Type: Sub-task > Reporter: Noble Paul > Assignee: Noble Paul > Priority: Trivial > Fix For: 4.4 > > Attachments: SOLR-4925.patch > > > OverseerCollectionProcessor.msgStrToInt(ZkNodeProps message, String key, > Integer def) throws NPE when the key value is null. I is expected to return > the value of 'def' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org