IDEMPIERE-455 Discover and fix FindBugs problems / Pattern NP_NULL_ON_SOME_PATH
This commit is contained in:
parent
ec241248c1
commit
214b34c377
|
@ -798,7 +798,7 @@ public class MiniTable extends CTable implements IMiniTable
|
||||||
if(subtotal == null)
|
if(subtotal == null)
|
||||||
subtotal = new Double(0);
|
subtotal = new Double(0);
|
||||||
if(amt == null )
|
if(amt == null )
|
||||||
subtotal = new Double(0);
|
amt = new Double(0);
|
||||||
total[col] = subtotal + amt;
|
total[col] = subtotal + amt;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -873,7 +873,7 @@ public class MiniTable extends CTable implements IMiniTable
|
||||||
if(subtotal == null)
|
if(subtotal == null)
|
||||||
subtotal = new Double(0);
|
subtotal = new Double(0);
|
||||||
if(amt == null )
|
if(amt == null )
|
||||||
subtotal = new Double(0);
|
amt = new Double(0);
|
||||||
total[col] = subtotal + amt;
|
total[col] = subtotal + amt;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue