IDEMPIERE-455 Discover and fix FindBugs problems / Pattern NP_NULL_ON_SOME_PATH

This commit is contained in:
Carlos Ruiz 2012-12-06 17:38:18 -05:00
parent ec241248c1
commit 214b34c377
1 changed files with 2 additions and 2 deletions

View File

@ -798,7 +798,7 @@ public class MiniTable extends CTable implements IMiniTable
if(subtotal == null)
subtotal = new Double(0);
if(amt == null )
subtotal = new Double(0);
amt = new Double(0);
total[col] = subtotal + amt;
}
@ -873,7 +873,7 @@ public class MiniTable extends CTable implements IMiniTable
if(subtotal == null)
subtotal = new Double(0);
if(amt == null )
subtotal = new Double(0);
amt = new Double(0);
total[col] = subtotal + amt;
}