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
f8a4ccf97b
commit
0c9b8ce758
|
@ -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