Fix npe
This commit is contained in:
@@ -35,8 +35,14 @@ public class WithdrawComparableEntry extends AbstractComparableEntry
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (amount == Amount.X && !option.endsWith(x)
|
if (amount == Amount.X)
|
||||||
|| !option.endsWith(amount.suffix))
|
{
|
||||||
|
if (!option.endsWith(x))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (!option.endsWith(amount.suffix))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user