Skip to content

Commit 140a4b2

Browse files
committed
Swapped out an empty string with a null
1 parent 9f39845 commit 140a4b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/classes/QueryGenerator.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ public class QueryGenerator {
1717
this.fieldSet = fieldSet;
1818
this.sobjectResult = sobjectResult;
1919

20-
this.sobjectType = fieldSet != null ? fieldSet.getSObjectType() : sobjectResult.getSobjectType();
20+
this.sobjectType = fieldSet != null ? fieldSet.getSObjectType() : sobjectResult.getSObjectType();
2121
this.queryFields = new Set<String>{'Id'};
2222

2323
if(this.fieldSet == null) this.parseSObjectFields();
2424
else this.parseFieldSetMembers();
2525
}
2626

2727
public String buildQuery() {
28-
return this.buildQuery('');
28+
return this.buildQuery(null);
2929
}
3030

3131
public String buildQuery(String whereClause) {

0 commit comments

Comments
 (0)