adamsaghy commented on code in PR #2384:
URL: https://github.com/apache/fineract/pull/2384#discussion_r909538137


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/ThreadLocalContextUtil.java:
##########
@@ -26,29 +31,25 @@
  */
 public final class ThreadLocalContextUtil {
 
-    private ThreadLocalContextUtil() {
-
-    }
-
     public static final String CONTEXT_TENANTS = "tenants";
-
     private static final ThreadLocal<String> contextHolder = new 
ThreadLocal<>();
-
-    private static final ThreadLocal<FineractPlatformTenant> tenantcontext = 
new ThreadLocal<>();
-
+    private static final ThreadLocal<FineractPlatformTenant> tenantContext = 
new ThreadLocal<>();
     private static final ThreadLocal<String> authTokenContext = new 
ThreadLocal<>();
+    private static final ThreadLocal<HashMap<BusinessDateType, LocalDate>> 
businessDateContext = new ThreadLocal<>();

Review Comment:
   Map is not supporting serialization.



-- 
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]

Reply via email to