From 058411c3c80af8c82662e004668baa74acf95a83 Mon Sep 17 00:00:00 2001 From: Dave Norris Date: Thu, 4 Apr 2024 10:21:44 +1100 Subject: [PATCH] fix: pmd unused variables (#283) * fix: pmd unused variables * chore: release documentation --- changelog.md | 8 ++++++++ force-app/main/default/classes/TimelineService.cls | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 56cf5b8..033aaa9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ # Change Log +## XX Xxx 2024 v1.15.0 + +**WHAT'S NEW** +- Changed Salesforce API to v60.0 from v59.0 + +**BUG FIXES** +- Fixed memory leak issue + ## 30 Jan 2024 v1.14.0 **WHAT'S NEW** diff --git a/force-app/main/default/classes/TimelineService.cls b/force-app/main/default/classes/TimelineService.cls index b8cf805..35f3506 100644 --- a/force-app/main/default/classes/TimelineService.cls +++ b/force-app/main/default/classes/TimelineService.cls @@ -16,7 +16,7 @@ public with sharing class TimelineService { Map parentDetails = getParentDetails(parentObjectId, parentFieldName); String parentObjectType = parentDetails.get('QueryObjectType'); - String parentConfigType = parentDetails.get('ConfigObjectType'); + String parentConfigType = parentDetails.get('ConfigObjectType'); //NOPMD parentObjectId = parentDetails.get('Id'); Map childObjects = getChildObjects(parentObjectType); @@ -98,7 +98,7 @@ public with sharing class TimelineService { Map parentDetails = getParentDetails(parentObjectId, parentFieldName); String parentObjectType = parentDetails.get('QueryObjectType'); - String parentConfigType = parentDetails.get('ConfigObjectType'); + String parentConfigType = parentDetails.get('ConfigObjectType'); //NOPMD parentObjectId = parentDetails.get('Id'); earliestRange = String.ValueOf((Decimal.ValueOf(earliestRange) * 12).intValue());