Fix nullpointer exception
This commit is contained in:
parent
f6ee4db598
commit
d550392047
|
@ -258,7 +258,7 @@ public class DateRangeParam implements IQueryParameterAnd<DateParam> {
|
||||||
@Override
|
@Override
|
||||||
public List<DateParam> getValuesAsQueryTokens() {
|
public List<DateParam> getValuesAsQueryTokens() {
|
||||||
ArrayList<DateParam> retVal = new ArrayList<DateParam>();
|
ArrayList<DateParam> retVal = new ArrayList<DateParam>();
|
||||||
if (myLowerBound.getMissing() != null) {
|
if (myLowerBound != null && myLowerBound.getMissing() != null) {
|
||||||
retVal.add((myLowerBound));
|
retVal.add((myLowerBound));
|
||||||
} else {
|
} else {
|
||||||
if (myLowerBound != null && !myLowerBound.isEmpty()) {
|
if (myLowerBound != null && !myLowerBound.isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue