You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2009/06/04 19:31:07 UTC
svn commit: r781802 -
/ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
Author: jaz
Date: Thu Jun 4 17:31:07 2009
New Revision: 781802
URL: http://svn.apache.org/viewvc?rev=781802&view=rev
Log:
fixed NPE reported by Hans
Modified:
ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java?rev=781802&r1=781801&r2=781802&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java Thu Jun 4 17:31:07 2009
@@ -1220,7 +1220,7 @@
} else {
pathInfo = null;
}
- if (pathInfo != null & pathInfo.indexOf("/") > -1) {
+ if (pathInfo != null && pathInfo.indexOf("/") > -1) {
pathParsed = pathInfo.split("/");
communicationEventId = pathParsed[0];
}