From 51416acefd33def337c419e4ed479f64f706e012 Mon Sep 17 00:00:00 2001 From: Connor Jerow Date: Sun, 11 Aug 2019 08:23:53 -0400 Subject: [PATCH] correct spelling of word updates within comment and exception message --- fflib/src/classes/fflib_SObjectDomain.cls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fflib/src/classes/fflib_SObjectDomain.cls b/fflib/src/classes/fflib_SObjectDomain.cls index b87b7a154f9..d3bda575c07 100644 --- a/fflib/src/classes/fflib_SObjectDomain.cls +++ b/fflib/src/classes/fflib_SObjectDomain.cls @@ -62,7 +62,7 @@ public virtual with sharing class fflib_SObjectDomain public static ErrorFactory Errors {get; private set;} /** - * Useful during unit testing to access mock support for database inserts and udpates (testing without DML) + * Useful during unit testing to access mock support for database inserts and updates (testing without DML) **/ public static TestFactory Test {get; private set;} @@ -214,7 +214,7 @@ public virtual with sharing class fflib_SObjectDomain public virtual void handleAfterUpdate(Map existingRecords) { if(Configuration.EnforcingTriggerCRUDSecurity && !SObjectDescribe.isUpdateable()) - throw new DomainException('Permission to udpate an ' + SObjectDescribe.getName() + ' denied.'); + throw new DomainException('Permission to update an ' + SObjectDescribe.getName() + ' denied.'); if(Configuration.OldOnUpdateValidateBehaviour) onValidate();