Removes some unused locals in solr/core request and response packages.

This commit is contained in:
Christine Poerschke 2016-09-28 18:43:15 +01:00
parent f13b727213
commit fe1b290e40
3 changed files with 0 additions and 3 deletions

View File

@ -145,7 +145,6 @@ final class NumericFacets {
final Iterator<LeafReaderContext> ctxIt = leaves.iterator();
LeafReaderContext ctx = null;
NumericDocValues longs = null;
Bits docsWithField = null;
int missingCount = 0;
for (DocIterator docsIt = docs.iterator(); docsIt.hasNext(); ) {
final int doc = docsIt.nextDoc();

View File

@ -108,7 +108,6 @@ public class MacroExpander {
if (idx < 0) return val;
int start = 0; // start of the unprocessed part of the string
int end = 0;
StringBuilder sb = null;
for (;;) {
idx = val.indexOf(macroStart, idx);

View File

@ -217,7 +217,6 @@ class SubQueryAugmenter extends DocTransformer {
if (vals != null) {
StringBuilder rez = new StringBuilder();
int i = 0;
for (Iterator iterator = vals.iterator(); iterator.hasNext();) {
Object object = (Object) iterator.next();
rez.append(convertFieldValue(object));