Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006281Openbravo ERPA. Platformpublic2008-11-30 22:592009-03-06 12:34
mtaal 
Hennadzi 
highmajoralways
closedfixed 
5
 
 
Core
No
0006281: Openbravo source code contains calls to equals with a null parameter
The Openbravo source code contains calls to equals with a null parameter:
      if (strcCreditCard.equals(null) || strcCreditCard.length() == 0){}

The correct line is:
      if (strcCreditCard == null || strcCreditCard.length() == 0){}

The occurrences can be found by searching for:
equals(null)

in the Openbravo source code
No tags attached.
Issue History
2008-11-30 22:59mtaalNew Issue
2008-11-30 22:59mtaalAssigned To => rafaroda
2008-11-30 22:59mtaalsf_bug_id0 => 2367112
2008-11-30 22:59mtaalRegression testing => No
2008-12-01 13:01shuehnerIssue Monitored: shuehner
2008-12-03 19:03pjuvaraPrioritynormal => high
2008-12-09 12:55pheenanAssigned Torafaroda => Hennadzi
2008-12-10 10:13svnbotCheckin
2008-12-10 10:13svnbotNote Added: 0011113
2008-12-10 10:13svnbotStatusnew => resolved
2008-12-10 10:13svnbotResolutionopen => fixed
2008-12-10 10:13svnbotsvn_revision => 11077
2009-01-09 17:48shuehnerIssue End Monitor: shuehner
2009-03-06 12:34psarobeStatusresolved => closed

Notes
(0011113)
svnbot   
2008-12-10 10:13   
Repository: openbravo
Revision: 11077
Author: hennadzi
Date: 2008-12-10 10:13:13 +0100 (Wed, 10 Dec 2008)

Bug fixed 0006281: Openbravo source code contains calls to equals with a null parameter

---
U trunk/src/org/openbravo/erpCommon/ad_callouts/SL_Payment_No_Verify.java
U trunk/src/org/openbravo/erpCommon/ad_process/ImportBPartner.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11077&sc=1 [^]