In AddUpdateCommand remove one unused local and the getSchema.getUniqueKeyField method call that initialises it.

This commit is contained in:
Christine Poerschke 2016-09-28 18:44:41 +01:00
parent fe1b290e40
commit ff359248b3
1 changed files with 0 additions and 1 deletions

View File

@ -168,7 +168,6 @@ public class AddUpdateCommand extends UpdateCommand implements Iterable<Document
{
List<SolrInputDocument> all = flatten(solrDoc);
SchemaField uniq = req.getSchema().getUniqueKeyField();
String idField = getHashableId();
for (SolrInputDocument sdoc : all) {