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 2013/07/27 11:52:48 UTC
svn commit: r1507622 -
/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
Author: jleroux
Date: Sat Jul 27 09:52:48 2013
New Revision: 1507622
URL: http://svn.apache.org/r1507622
Log:
Of course I made a wrong C/P in r1507596
Modified:
ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=1507622&r1=1507621&r2=1507622&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java Sat Jul 27 09:52:48 2013
@@ -2095,7 +2095,7 @@ public class PartyServices {
lastEmailAddress = rec.get("emailAddress");
}
- //Map<String, Object> postalAddress = UtilMisc.toMap("userLogin", userLogin);
+ //Map<String, Object> postalAddress = UtilMisc.toMap("userLogin", userLogin); this seems to fail which older jdk version
Map<String, Object> postalAddress = new HashMap<String, Object>();
postalAddress.put("userLogin", userLogin);
Boolean postalAddressChanged = false;
@@ -2117,9 +2117,9 @@ public class PartyServices {
lastCountryGeoId = (String) postalAddress.get("countryGeoId");
}
- //Map<String, Object> telecomNumber = UtilMisc.toMap("userLogin", userLogin);
+ //Map<String, Object> telecomNumber = UtilMisc.toMap("userLogin", userLogin); this seems to fail which older jdk version
Map<String, Object> telecomNumber = new HashMap<String, Object>();
- postalAddress.put("userLogin", userLogin);
+ telecomNumber.put("userLogin", userLogin);
Boolean telecomNumberChanged = false;
if ("TELECOM_NUMBER".equals(currentContactMechTypeId)) {
telecomNumber.put("countryCode", rec.get("telCountryCode"));