Skip to content

Commit

Permalink
Merge pull request #30258 from gwenneg/cache-doc-typo
Browse files Browse the repository at this point in the history
Fix quarkus-cache doc typo
  • Loading branch information
gwenneg authored Jan 9, 2023
2 parents afa8485 + e982906 commit 01a0106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/cache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ public class CacheConfigManager {
public void setMaximumSize(String cacheName, long maximumSize) {
Optional<Cache> cache = cacheManager.getCache(cacheName);
if (cache.isPresent()) {
cache.as(CaffeineCache.class).setMaximumSize(duration); <3>
cache.as(CaffeineCache.class).setMaximumSize(maximumSize); <3>
}
}
}
Expand Down

0 comments on commit 01a0106

Please sign in to comment.