svn commit: r483734 - /incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r483734 - /incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java

sichen
Author: sichen
Date: Thu Dec  7 15:26:53 2006
New Revision: 483734

URL: http://svn.apache.org/viewvc?view=rev&rev=483734
Log:
trivial change to set adjustment amount to BigDecimal ZERO

Modified:
    incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java

Modified: incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java?view=diff&rev=483734&r1=483733&r2=483734
==============================================================================
--- incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java (original)
+++ incubator/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java Thu Dec  7 15:26:53 2006
@@ -493,7 +493,7 @@
                             continue;
                         }
         
-                        BigDecimal amount = new BigDecimal(0);
+                        BigDecimal amount = ZERO;
                         if (adj.get("amount") != null) {
                             // pro-rate the amount
                             // set decimals = 100 means we don't round this intermediate value, which is very important