Skip to content

Commit 183329c

Browse files
author
AMarchbanks
committed
Updated fflib_SObjectSelector to fix issue with CURRENCY_ISO_CODE_ENABLED not having a set modifier and also remove final modifier as this is not required
1 parent a7b61e9 commit 183329c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fflib/src/classes/fflib_SObjectSelector.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ public abstract with sharing class fflib_SObjectSelector
3434
* Indicates whether the sObject has the currency ISO code field for organisations which have multi-currency
3535
* enabled.
3636
**/
37-
private static final Boolean CURRENCY_ISO_CODE_ENABLED {
37+
private Boolean CURRENCY_ISO_CODE_ENABLED {
3838
get {
3939
if(CURRENCY_ISO_CODE_ENABLED == null){
4040
CURRENCY_ISO_CODE_ENABLED = describeWrapper.getFieldsMap().keySet().contains('CurrencyIsoCode');
4141
}
4242
return CURRENCY_ISO_CODE_ENABLED;
4343
}
44+
set;
4445
}
4546

4647
/**

0 commit comments

Comments
 (0)