question: public void validateSolrConnectionString ( ) { if ( solrMode . equals ( SINGLE_NODE_MODE ) && solrHost . contains ( "," ) ) { throw new IllegalArgumentException ( String . format ( "Multiple hosts '%s' found for Single Node Solr." , solrHost ) ) ; } }
target:  Validates whether the host entered for Single Node Solr instance is proper or not.