mirror of https://github.com/apache/lucene.git
Removes some unused locals in solr/core request and response packages.
This commit is contained in:
parent
f13b727213
commit
fe1b290e40
|
@ -145,7 +145,6 @@ final class NumericFacets {
|
||||||
final Iterator<LeafReaderContext> ctxIt = leaves.iterator();
|
final Iterator<LeafReaderContext> ctxIt = leaves.iterator();
|
||||||
LeafReaderContext ctx = null;
|
LeafReaderContext ctx = null;
|
||||||
NumericDocValues longs = null;
|
NumericDocValues longs = null;
|
||||||
Bits docsWithField = null;
|
|
||||||
int missingCount = 0;
|
int missingCount = 0;
|
||||||
for (DocIterator docsIt = docs.iterator(); docsIt.hasNext(); ) {
|
for (DocIterator docsIt = docs.iterator(); docsIt.hasNext(); ) {
|
||||||
final int doc = docsIt.nextDoc();
|
final int doc = docsIt.nextDoc();
|
||||||
|
|
|
@ -108,7 +108,6 @@ public class MacroExpander {
|
||||||
if (idx < 0) return val;
|
if (idx < 0) return val;
|
||||||
|
|
||||||
int start = 0; // start of the unprocessed part of the string
|
int start = 0; // start of the unprocessed part of the string
|
||||||
int end = 0;
|
|
||||||
StringBuilder sb = null;
|
StringBuilder sb = null;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
idx = val.indexOf(macroStart, idx);
|
idx = val.indexOf(macroStart, idx);
|
||||||
|
|
|
@ -217,7 +217,6 @@ class SubQueryAugmenter extends DocTransformer {
|
||||||
|
|
||||||
if (vals != null) {
|
if (vals != null) {
|
||||||
StringBuilder rez = new StringBuilder();
|
StringBuilder rez = new StringBuilder();
|
||||||
int i = 0;
|
|
||||||
for (Iterator iterator = vals.iterator(); iterator.hasNext();) {
|
for (Iterator iterator = vals.iterator(); iterator.hasNext();) {
|
||||||
Object object = (Object) iterator.next();
|
Object object = (Object) iterator.next();
|
||||||
rez.append(convertFieldValue(object));
|
rez.append(convertFieldValue(object));
|
||||||
|
|
Loading…
Reference in New Issue