details:   https://code.openbravo.com/erp/devel/pi/rev/1799d7a3ea4a
changeset: 28252:1799d7a3ea4a
user:      David Miguelez <david.miguelez <at> openbravo.com>
date:      Wed Jan 13 12:44:01 2016 +0100
summary:   Fixes Issue 31859. Removes unnecessary code that makes the process 
fail with a NPE
if the global variable has not been initized yet.

details:   https://code.openbravo.com/erp/devel/pi/rev/f8867ebd1935
changeset: 28253:f8867ebd1935
user:      Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
date:      Wed Jan 13 17:35:14 2016 +0100
summary:   Related to issue 31859: Updated copyright year

diffstat:

 src/org/openbravo/event/ProductCharacteristicValueEventHandler.java |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 8d9510cd867e -r f8867ebd1935 
src/org/openbravo/event/ProductCharacteristicValueEventHandler.java
--- a/src/org/openbravo/event/ProductCharacteristicValueEventHandler.java       
Wed Jan 13 15:31:26 2016 +0100
+++ b/src/org/openbravo/event/ProductCharacteristicValueEventHandler.java       
Wed Jan 13 17:35:14 2016 +0100
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2013 Openbravo SLU
+ * All portions are Copyright (C) 2013-2016 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  *************************************************************************
@@ -71,7 +71,6 @@
       return;
     }
     final ProductCharacteristicValue pchv = (ProductCharacteristicValue) 
event.getTargetInstance();
-    prodchvalueUpdated.get().add(pchv.getProduct().getId());
     addProductToList(pchv);
   }
 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to