Improved: Handle remaining checkstyle errors
Fixes wrong methods names in EntityFunction class
Not sure why this one was missing (I used Eclipse refactoring and compilation
worked locally)
@@ -447,7 +447,7 @@ public class PayPalServices {
if (!newParty) {
EntityCondition cond = EntityCondition.makeCondition(UtilMisc.toList(
EntityCondition.makeCondition(UtilMisc.toMap("partyId", partyId, "contactMechTypeId", "EMAIL_ADDRESS")),
- EntityCondition.makeCondition(EntityFunction.UPPER_FIELD("infoString"), EntityComparisonOperator.EQUALS, EntityFunction.UPPER(emailAddress))));
+ EntityCondition.makeCondition(EntityFunction.upperField("infoString"), EntityComparisonOperator.EQUALS, EntityFunction.upper(emailAddress))));
try {
GenericValue matchingEmail = EntityQuery.use(delegator).from("PartyAndContactMech").where(cond).orderBy("fromDate").filterByDate().queryFirst();
if (matchingEmail != null) {
