File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -453,16 +453,16 @@ public virtual with sharing class fflib_SObjectDomain
453453 /**
454454 * Ensures logging of errors in the Domain context for later assertions in tests
455455 **/
456- public virtual class ErrorFactory
456+ public class ErrorFactory
457457 {
458458 private List <Error > errorList = new List <Error >();
459459
460- public ErrorFactory ()
460+ private ErrorFactory ()
461461 {
462462
463463 }
464464
465- public virtual String error (String message , SObject record )
465+ public String error (String message , SObject record )
466466 {
467467 return error (null , message , record );
468468 }
@@ -477,7 +477,7 @@ public virtual with sharing class fflib_SObjectDomain
477477 return message ;
478478 }
479479
480- public virtual String error (String message , SObject record , SObjectField field )
480+ public String error (String message , SObject record , SObjectField field )
481481 {
482482 return error (null , message , record , field );
483483 }
@@ -493,12 +493,12 @@ public virtual with sharing class fflib_SObjectDomain
493493 return message ;
494494 }
495495
496- public virtual List <Error > getAll ()
496+ public List <Error > getAll ()
497497 {
498498 return errorList .clone ();
499499 }
500500
501- public virtual void clearAll ()
501+ public void clearAll ()
502502 {
503503 errorList .clear ();
504504 }
You can’t perform that action at this time.
0 commit comments