private List<String> checkMissingFields(List<SolrFieldMappingConfig> mappings, List<String> solrFields) {
    List<String> missingFields = new ArrayList<>(solrFields);

    for (SolrFieldMappingConfig map : mappings) {
      missingFields.remove(map.solrFieldName);
    }
    return missingFields;
  }
private List<String> checkMissingFields(List<SolrFieldMappingConfig> mappings, List<String> solrFields) {
    List<String> missingFields = new ArrayList<>(solrFields);

    for (SolrFieldMappingConfig map : mappings) {
      missingFields.remove(map.solrFieldName);
    }
    return missingFields;
  }
private List < String > checkMissingFields ( List < SolrFieldMappingConfig > mappings , List < String > solrFields ) { List < String > missingFields = new ArrayList <> ( solrFields ) ; for ( SolrFieldMappingConfig map : mappings ) { missingFields . remove ( map . solrFieldName ) ; } return missingFields ; }
Check that the list of mappings in {@code mappings} covers all the fields in {@code solrFields}.

@param mappings List of record field name to Solr field name mappings.
@param solrFields List of Solr field names to check.
@return A list with the missing Solr field names in {@code mappings} according to {@code solrFields}.
Check that the list of mappings in { @code mappings } covers all the fields in { @code solrFields } .