Skip to content

Commit

Permalink
Fix sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
eldimi authored and scottgerring committed Feb 13, 2024
1 parent 4af8314 commit 8ec0c50
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 @@ -93,7 +93,7 @@ public static class Builder {

private int localCacheMaxItems = 256;
private boolean useLocalCache = false;
private long expirationInSeconds = 60 * 60; // 1 hour
private long expirationInSeconds = 60 * 60L; // 1 hour
private String eventKeyJMESPath;
private String payloadValidationJMESPath;
private boolean throwOnNoIdempotencyKey = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public abstract class BasePersistenceStore implements PersistenceStore {
protected boolean payloadValidationEnabled = false;
private String functionName = "";
private boolean configured = false;
private long expirationInSeconds = 60 * 60; // 1 hour default
private long expirationInSeconds = 60 * 60L; // 1 hour default
private boolean useLocalCache = false;
private LRUCache<String, DataRecord> cache;
private String eventKeyJMESPath;
Expand Down

0 comments on commit 8ec0c50

Please sign in to comment.