DeathGun44 commented on code in PR #6084:
URL: https://github.com/apache/fineract/pull/6084#discussion_r3543605555
##########
integration-tests/src/test/java/org/apache/fineract/integrationtests/client/feign/helpers/FeignBusinessDateHelper.java:
##########
@@ -61,12 +62,19 @@ public void runAt(String date, Runnable action) {
}
public void runAt(String date, String dateFormat, Runnable action) {
+ boolean outerScope = RUN_AT_NESTING_DEPTH.get() == 0;
Review Comment:
Agreed and removed the ThreadLocal nesting depth tracking entirely. No test
actually nests runAt calls, so the complexity was unjustified.
--
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]