SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page

This commit is contained in:
Shalin Shekhar Mangar 2018-03-14 10:26:45 +05:30
parent e9393e88fd
commit 9de0ebe797
2 changed files with 4 additions and 1 deletions

View File

@ -67,6 +67,9 @@ Other Changes
* SOLR-12076: Remove unnecessary printLayout usage in CDCR tests (Varun Thacker)
* SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page.
(Sathiya N Sundararajan via shalin)
================== 7.3.0 ==================

View File

@ -137,7 +137,7 @@ public class FastLRUCache<K, V> extends SolrCacheBase implements SolrCache<K,V>
}
protected String generateDescription(long maxRamBytes, long ramLowerWatermark, boolean newThread) {
String description = "Concurrent LRU Cache(ramMinSize=" + ramLowerWatermark + ", ramMaxSize" + maxRamBytes
String description = "Concurrent LRU Cache(ramMinSize=" + ramLowerWatermark + ", ramMaxSize=" + maxRamBytes
+ ", cleanupThread=" + newThread;
if (isAutowarmingOn()) {
description += ", " + getAutowarmDescription();