Skip to content

Commit e011569

Browse files
Merge pull request #513 from brandbarr/master
Fix spelling and grammar errors in comments
2 parents 2097676 + bf302bd commit e011569

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

sfdx-source/apex-common/main/classes/fflib_Application.cls

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public virtual class fflib_Application
8686
* if set via the setMock method
8787
*
8888
* @remark If mock is set, the list of SObjectType in the mock could be different
89-
* then the list of SObjectType specified in this method call
89+
* than the list of SObjectType specified in this method call
9090
**/
9191
public virtual fflib_ISObjectUnitOfWork newInstance(List<SObjectType> objectTypes)
9292
{
@@ -102,7 +102,7 @@ public virtual class fflib_Application
102102
* if set via the setMock method
103103
*
104104
* @remark If mock is set, the list of SObjectType in the mock could be different
105-
* then the list of SObjectType specified in this method call
105+
* than the list of SObjectType specified in this method call
106106
**/
107107
public virtual fflib_ISObjectUnitOfWork newInstance(List<SObjectType> objectTypes, fflib_SObjectUnitOfWork.IDML dml)
108108
{
@@ -139,7 +139,7 @@ public virtual class fflib_Application
139139
* Note that this will not check the Apex Classes given actually implement the interfaces
140140
* as this information is not presently available via the Apex runtime
141141
*
142-
* @param serviceInterfaceTypeByServiceImplType Map ofi interfaces to classes
142+
* @param serviceInterfaceTypeByServiceImplType Map of interfaces to classes
143143
**/
144144
public ServiceFactory(Map<Type, Type> serviceInterfaceTypeByServiceImplType)
145145
{
@@ -189,11 +189,11 @@ public virtual class fflib_Application
189189
public SelectorFactory() { }
190190

191191
/**
192-
* Consturcts a Selector Factory linking SObjectType's with Apex Classes implement the fflib_ISObjectSelector interface
192+
* Constructs a Selector Factory linking SObjectType's with Apex Classes implement the fflib_ISObjectSelector interface
193193
* Note that the factory does not check the given Apex Classes implement the interface
194194
* currently this is not possible in Apex.
195195
*
196-
* @Param sObjectBySelectorType Map of SObjectType's to Selector Apex Classes
196+
* @param sObjectBySelectorType Map of SObjectType's to Selector Apex Classes
197197
**/
198198
public SelectorFactory(Map<SObjectType, Type> sObjectBySelectorType)
199199
{

sfdx-source/apex-common/main/classes/fflib_ISObjectUnitOfWork.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public interface fflib_ISObjectUnitOfWork
215215
**/
216216
void commitWork();
217217
/**
218-
* Register a generic peace of work to be invoked during the commitWork phase
218+
* Register a generic piece of work to be invoked during the commitWork phase
219219
*
220220
* @param work Work to be registered
221221
**/

sfdx-source/apex-common/main/classes/fflib_StringBuilder.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* Helper class, roughly based on the Java version, but subclassed to assist in a number of use cases in this library
2929
*
30-
* NOTE: Aspects of this where developed before recent improvements to String handling, as such could likely be enhanced at this stage.
30+
* NOTE: Aspects of this were developed before recent improvements to String handling, as such could likely be enhanced at this stage.
3131
**/
3232
public virtual class fflib_StringBuilder
3333
{

0 commit comments

Comments
 (0)