mirror of https://github.com/apache/lucene.git
removed an unused parameter in collectdelta
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@778675 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d79ea7ce69
commit
7da222d7cd
|
@ -237,8 +237,7 @@ public class DocBuilder {
|
||||||
addStatusMessage("Identifying Delta");
|
addStatusMessage("Identifying Delta");
|
||||||
LOG.info("Starting delta collection.");
|
LOG.info("Starting delta collection.");
|
||||||
Set<Map<String, Object>> deletedKeys = new HashSet<Map<String, Object>>();
|
Set<Map<String, Object>> deletedKeys = new HashSet<Map<String, Object>>();
|
||||||
Set<Map<String, Object>> allPks = collectDelta(root, null, resolver,
|
Set<Map<String, Object>> allPks = collectDelta(root, null, resolver, deletedKeys);
|
||||||
dataImporter, deletedKeys);
|
|
||||||
if (stop.get())
|
if (stop.get())
|
||||||
return;
|
return;
|
||||||
addStatusMessage("Deltas Obtained");
|
addStatusMessage("Deltas Obtained");
|
||||||
|
@ -568,7 +567,7 @@ public class DocBuilder {
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public Set<Map<String, Object>> collectDelta(DataConfig.Entity entity,
|
public Set<Map<String, Object>> collectDelta(DataConfig.Entity entity,
|
||||||
DataConfig.Entity parentEntity, VariableResolverImpl resolver,
|
DataConfig.Entity parentEntity, VariableResolverImpl resolver,
|
||||||
DataImporter dataImporter, Set<Map<String, Object>> deletedRows) {
|
Set<Map<String, Object>> deletedRows) {
|
||||||
//someone called abort
|
//someone called abort
|
||||||
if (stop.get())
|
if (stop.get())
|
||||||
return new HashSet();
|
return new HashSet();
|
||||||
|
@ -579,8 +578,7 @@ public class DocBuilder {
|
||||||
|
|
||||||
for (DataConfig.Entity entity1 : entity.entities) {
|
for (DataConfig.Entity entity1 : entity.entities) {
|
||||||
//this ensures that we start from the leaf nodes
|
//this ensures that we start from the leaf nodes
|
||||||
myModifiedPks.addAll(collectDelta(entity1, entity, resolver, dataImporter,
|
myModifiedPks.addAll(collectDelta(entity1, entity, resolver, deletedRows));
|
||||||
deletedRows));
|
|
||||||
//someone called abort
|
//someone called abort
|
||||||
if (stop.get())
|
if (stop.get())
|
||||||
return new HashSet();
|
return new HashSet();
|
||||||
|
|
Loading…
Reference in New Issue