svn commit: r781802 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java

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

svn commit: r781802 - /ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java

jaz-3
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];            
         }