Skip to content

Commit

Permalink
Merge pull request #234 from cgjerow/master
Browse files Browse the repository at this point in the history
correct spelling of word updates within comment and exception message
  • Loading branch information
daveespo committed Jan 7, 2020
2 parents b69f211 + 51416ac commit 8b2a6f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fflib/src/classes/fflib_SObjectDomain.cls
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,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;}

Expand Down Expand Up @@ -241,7 +241,7 @@ public virtual with sharing class fflib_SObjectDomain
public virtual void handleAfterUpdate(Map<Id,SObject> 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();
Expand Down

0 comments on commit 8b2a6f8

Please sign in to comment.