Skip to content

Commit

Permalink
Added currency correction from findbugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcustenborder committed Mar 21, 2016
1 parent 505b053 commit 6e03970
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void convertField(final Struct row, Field field, SolrInputDocument solrInputDocu
if(currencyFields.containsKey(field.name())){
String currencyCode = currencyFields.get(field.name());
String currency = String.format("%s,%s", value, currencyCode);
solrInputDocument.addField(solrField, value);
solrInputDocument.addField(solrField, currency);
} else {
switch(field.schema().type()){
default:
Expand Down

0 comments on commit 6e03970

Please sign in to comment.