diff --git a/indexer-core/src/main/java/org/opengroup/osdu/indexer/cache/partitionsafe/AbstractPartitionSafeCache.java b/indexer-core/src/main/java/org/opengroup/osdu/indexer/cache/partitionsafe/AbstractPartitionSafeCache.java index 25a336649e9c5601204529a66d6a002fa94a14c0..25d50faa789d2a46478d1339415448669f6d09d9 100644 --- a/indexer-core/src/main/java/org/opengroup/osdu/indexer/cache/partitionsafe/AbstractPartitionSafeCache.java +++ b/indexer-core/src/main/java/org/opengroup/osdu/indexer/cache/partitionsafe/AbstractPartitionSafeCache.java @@ -25,7 +25,6 @@ public abstract class AbstractPartitionSafeCache<K, V> implements ICache<K, V> { private IRequestInfo requestInfo; protected String cacheKey(String s) { - String key = this.requestInfo.getPartitionId() + "-" + this.getClass().getSimpleName() + "-" + s; - return key.toLowerCase(); + return this.requestInfo.getPartitionId() + "-" + this.getClass().getSimpleName().toLowerCase() + "-" + s; } }