File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -189,12 +189,11 @@ public abstract with sharing class fflib_SObjectSelector
189189 *
190190 * @depricated See newQueryFactory
191191 **/
192- public fflib_StringBuilder.FieldListBuilder getFieldListBuilder ()
192+ public fflib_StringBuilder.CommaDelimitedListBuilder getFieldListBuilder ()
193193 {
194- List <SObjectField > sObjectFields = new List <SObjectField >();
195- for (fflib_QueryFactory .QueryField queryField : newQueryFactory ().getSelectedFields ())
196- sObjectFields .add (queryField .getBaseField ());
197- return new fflib_StringBuilder .FieldListBuilder (sObjectFields );
194+ return
195+ new fflib_StringBuilder .CommaDelimitedListBuilder (
196+ new List <String >(newQueryFactory ().getSelectedFields ()));
198197 }
199198
200199 /**
@@ -439,4 +438,4 @@ public abstract with sharing class fflib_SObjectSelector
439438
440439 return queryFactory ;
441440 }
442- }
441+ }
You can’t perform that action at this time.
0 commit comments