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 f8a4ccf97b
commit 0c9b8ce758
2 changed files with 0 additions and 2 deletions

View File

@ -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);

View File

@ -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));