Skip to content

Commit

Permalink
Fixed some PMD scan violations
Browse files Browse the repository at this point in the history
  • Loading branch information
jongpie committed Jul 10, 2024
1 parent ad1800f commit 8a8ffff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @group packaging
* @description Automatically enables org default settings when installing the managed package
*/
@SuppressWarnings('PMD.AvoidGlobalModifier')
@SuppressWarnings('PMD.AvoidGlobalModifier, PMD.ApexCRUDViolation')
global without sharing class LoggerInstallHandler implements System.InstallHandler {
@TestVisible
private List<LoggerSettings__c> settingsWithouDefaultSaveMethod = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @group Plugins
* @description Optional plugin that integrates with Slack to send alerts for important logs
*/
@SuppressWarnings('PMD.CyclomaticComplexity, PMD.ExcessivePublicCount')
@SuppressWarnings('PMD.ApexCRUDViolation, PMD.CyclomaticComplexity, PMD.ExcessivePublicCount')
public without sharing class SlackLoggerPlugin implements LoggerPlugin.Triggerable, System.Queueable, Database.AllowsCallouts {
@TestVisible
private static final String ENDPOINT = LoggerParameter.getString('SlackEndpoint', null);
Expand Down

0 comments on commit 8a8ffff

Please sign in to comment.