Fix styling (#93)
* Fix styling * Fix dependency with apex-common, A method that exists in apex-extensions, is now added to the apex-commons. IMPORTANT: this is introducing a breaking change, as the second paramter of the method is flipped in meaning. From `omitNulls` to `includeNulls`. * New package version 0.11.0-1-code-reformat created * New package version 0.11.0-2-code-reformat created * New package version 0.11.0-3-code-reformat created --------- Co-authored-by: WimVelzeboer <wvelzeb1@its.jnj.com> Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
co-authored by
WimVelzeboer
github-actions
parent
98b0f97e24
commit
4a734ee822
@@ -867,26 +867,6 @@ public virtual class fflib_SObjects2
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Id values, but with the option to omit null values
|
||||
*
|
||||
* @param field The Schema.SObjectField to get their Id values
|
||||
* @param omitNulls If set to TRUE, null values will be removed from the result
|
||||
*
|
||||
* @return The Id values of the given sObjectField, null values are omitted
|
||||
*/
|
||||
@TestVisible
|
||||
protected Set<Id> getIdFieldValues(Schema.SObjectField field, Boolean omitNulls)
|
||||
{
|
||||
Set<Id> result = getIdFieldValues(field);
|
||||
|
||||
if (omitNulls)
|
||||
{
|
||||
result.remove(null);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param sObjectField The Schema.SObjectField to get their Id values
|
||||
* @param criteria The criteria condition that must be met to include the value in the return
|
||||
|
||||
Reference in New Issue
Block a user