SOLR-10566: Fix error handling

This commit is contained in:
Joel Bernstein 2017-05-01 12:06:00 -04:00
parent 8c11f81a95
commit 0a2286c5f2
1 changed files with 3 additions and 3 deletions

View File

@ -91,17 +91,17 @@ public class TimeSeriesStream extends TupleStream implements Expressible {
}
String end = null;
if(startExpression != null) {
if(endExpression != null) {
end = ((StreamExpressionValue)endExpression.getParameter()).getValue();
}
String gap = null;
if(startExpression != null) {
if(gapExpression != null) {
gap = ((StreamExpressionValue)gapExpression.getParameter()).getValue();
}
String field = null;
if(startExpression != null) {
if(fieldExpression != null) {
field = ((StreamExpressionValue)fieldExpression.getParameter()).getValue();
}