BF [ 2108636 ] InfoInvoicePanel throws NPE
This commit is contained in:
parent
a587278332
commit
abb2016715
|
|
@ -354,7 +354,7 @@ public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener
|
||||||
//
|
//
|
||||||
Double fromAmount = null;
|
Double fromAmount = null;
|
||||||
Double toAmount = null;
|
Double toAmount = null;
|
||||||
if (!amountFrom.getText().equals(""))
|
if (!Util.isEmpty(amountFrom.getText()))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -365,7 +365,7 @@ public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!amountTo.getText().equals(""))
|
if (!Util.isEmpty(amountTo.getText()))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -467,7 +467,7 @@ public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener
|
||||||
Double fromAmt = null;
|
Double fromAmt = null;
|
||||||
Double toAmt = null;
|
Double toAmt = null;
|
||||||
|
|
||||||
if (!amountFrom.getText().equals(""))
|
if (!Util.isEmpty(amountFrom.getText()))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
@ -480,7 +480,7 @@ public class InfoInvoicePanel extends InfoPanel implements ValueChangeListener
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!amountTo.getText().equals(""))
|
if (!Util.isEmpty(amountTo.getText()))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue