From 2c158c06db564f0e6f60a0163b62a06a7cff6246 Mon Sep 17 00:00:00 2001 From: Piotr PG Gajek Date: Tue, 31 Oct 2023 21:07:21 +0100 Subject: [PATCH] Code formatting --- force-app/main/default/classes/SOQL_Test.cls | 25 +++++++++----------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/force-app/main/default/classes/SOQL_Test.cls b/force-app/main/default/classes/SOQL_Test.cls index be981ee..018b250 100644 --- a/force-app/main/default/classes/SOQL_Test.cls +++ b/force-app/main/default/classes/SOQL_Test.cls @@ -1295,20 +1295,17 @@ private class SOQL_Test { // Test String soql = SOQL.of(Account.SObjectType) - .whereAre( - SOQL.FilterGroup - .add( - SOQL.FilterGroup - .add(SOQL.Filter.with(Account.BillingCity).equal('Krakow')) - .add(SOQL.Filter.with(Account.BillingCity).equal('Warsaw')) - .anyConditionMatching() - .ignoreWhen(!isPartnerUser) - ) - .add( - SOQL.FilterGroup - .add(SOQL.Filter.with(Account.Industry).equal('IT')) - .add(SOQL.Filter.name().contains('MyAcccount')) - ) + .whereAre(SOQL.FilterGroup + .add(SOQL.FilterGroup + .add(SOQL.Filter.with(Account.BillingCity).equal('Krakow')) + .add(SOQL.Filter.with(Account.BillingCity).equal('Warsaw')) + .anyConditionMatching() + .ignoreWhen(!isPartnerUser) + ) + .add(SOQL.FilterGroup + .add(SOQL.Filter.with(Account.Industry).equal('IT')) + .add(SOQL.Filter.name().contains('MyAcccount')) + ) ) .toString();