vidakovic commented on code in PR #6424:
URL: https://github.com/apache/fineract/pull/6424#discussion_r4023416216
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/cache/SpecifiedCacheSupportingCacheManager.java:
##########
@@ -77,6 +80,8 @@ public void setNoOpCacheManager(NoOpCacheManager
noOpCacheManager) {
}
public void setSupportedCaches(String... cacheNames) {
- supportedCacheNames.addAll(Arrays.asList(cacheNames));
+ synchronized (supportedCacheNames) {
Review Comment:
This function is only called from a Spring Java configuration class. How is
this supposed to create a concurrency issue? This looks like a solution to a
non-existing problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]