mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 05:19:17 +00:00
SOLR-1136 -- Remove unnecessary while in SqlEntityProcessor.nextRow()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@770580 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
735c395391
commit
c514dd50eb
@ -70,11 +70,7 @@ public class SqlEntityProcessor extends EntityProcessorBase {
|
||||
String q = getQuery();
|
||||
initQuery(resolver.replaceTokens(q));
|
||||
}
|
||||
while (true) {
|
||||
Map<String, Object> r = getNext();
|
||||
return r;
|
||||
}
|
||||
|
||||
return getNext();
|
||||
}
|
||||
|
||||
public Map<String, Object> nextModifiedRowKey() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user