You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/02/18 20:09:52 UTC

svn commit: r745613 - in /ofbiz/trunk: applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java framework/common/servicedef/services_email.xml

Author: jleroux
Date: Wed Feb 18 19:09:51 2009
New Revision: 745613

URL: http://svn.apache.org/viewvc?rev=745613&view=rev
Log:
Trivials changes while working on https://issues.apache.org/jira/browse/OFBIZ-2000 and dependencies

Modified:
    ofbiz/trunk/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java
    ofbiz/trunk/framework/common/servicedef/services_email.xml

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=745613&r1=745612&r2=745613&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 Wed Feb 18 19:09:51 2009
@@ -369,7 +369,7 @@
         // only create a new communication event if the email is not already associated with one
         if (communicationEventId == null) {
             String partyIdFrom = (String) userLogin.get("partyId");
-            Map commEventMap = FastMap.newInstance();
+            Map<String, Object> commEventMap = FastMap.newInstance();
             commEventMap.put("communicationEventTypeId", "EMAIL_COMMUNICATION");
             commEventMap.put("statusId", "COM_COMPLETE");
             commEventMap.put("contactMechTypeId", "EMAIL_ADDRESS");

Modified: ofbiz/trunk/framework/common/servicedef/services_email.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_email.xml?rev=745613&r1=745612&r2=745613&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/servicedef/services_email.xml (original)
+++ ofbiz/trunk/framework/common/servicedef/services_email.xml Wed Feb 18 19:09:51 2009
@@ -44,7 +44,7 @@
     <service name="sendMail" engine="java"
             location="org.ofbiz.common.email.EmailServices" invoke="sendMail">
         <description>Send E-Mail Service.  partyId and communicationEventId aren't used by sendMail 
-            but are passed down to storeEmailAsCommunication during the SECA chain.  See sednMailInterface for more comments.</description>
+            but are passed down to storeEmailAsCommunication during the SECA chain.  See sendMailInterface for more comments.</description>
         <implements service="sendMailInterface"/>
         <attribute name="body" type="String" mode="INOUT" optional="false" allow-html="any"/>
         <attribute name="communicationEventId" type="String" mode="INOUT" optional="true"/>