Skip to content

Commit

Permalink
ARC-1246: Fix sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrichner-oviva committed Feb 8, 2024
1 parent e72585c commit 99b22bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private CodeRepo buildCodeRepo(CodeStoreConfig config) {

private <T> Cache<String, T> buildCache(Duration ttl, int maxSize) {
return Caffeine.newBuilder()
.expireAfter(new AfterCreatedExpiry(ttl.toNanos()))
.expireAfter(new AfterCreatedExpiry<>(ttl.toNanos()))
.maximumSize(maxSize)
.build();
}
Expand Down

0 comments on commit 99b22bc

Please sign in to comment.