File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ public virtual without sharing class Repository implements IRepository {
3232 this .logQuery (' cursor query:\n ' + finalQuery );
3333 Cursor cursor = new Cursor (finalQuery , this .bindVars , this .accessLevel );
3434 this .clearState ();
35- this .bindVars .clear ();
3635 System .debug (System .LoggingLevel .FINER , ' number of results: ' + cursor .getNumRecords ());
3736 return cursor ;
3837 }
@@ -51,7 +50,6 @@ public virtual without sharing class Repository implements IRepository {
5150 this .bindVars ,
5251 this .accessLevel
5352 );
54- this .bindVars .clear ();
5553 this .clearState ();
5654 this .shouldAddChildFields = originalValue ;
5755
@@ -247,6 +245,7 @@ public virtual without sharing class Repository implements IRepository {
247245 }
248246
249247 protected virtual void clearState () {
248+ this .clearBindVars ();
250249 this .fieldToSortOrder .clear ();
251250 this .limitAmount = null ;
252251 }
You can’t perform that action at this time.
0 commit comments