Skip to content

Commit

Permalink
fix: pmd unused variables (#283)
Browse files Browse the repository at this point in the history
* fix: pmd unused variables
* chore: release documentation
  • Loading branch information
deejay-hub authored Apr 3, 2024
1 parent a3b238b commit 058411c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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**
Expand Down
4 changes: 2 additions & 2 deletions force-app/main/default/classes/TimelineService.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public with sharing class TimelineService {
Map<String, String> 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<String, String> childObjects = getChildObjects(parentObjectType);
Expand Down Expand Up @@ -98,7 +98,7 @@ public with sharing class TimelineService {
Map<String, String> 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());
Expand Down

0 comments on commit 058411c

Please sign in to comment.