Fixes the caching issue by returning a copy of the set instead of the set inside the cache.

This commit is contained in:
Simon Wagner
2024-02-08 09:17:10 +01:00
parent 448d2c9c2f
commit 440e31fcdb

View File

@@ -219,7 +219,7 @@ public class FilePlanServiceImpl extends ServiceBaseImpl
}
else
{
return rmContainerCacheManager.get(storeRef);
return new HashSet<>(rmContainerCacheManager.get(storeRef));
}
return results;