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


##########
fineract-core/src/main/java/org/springframework/batch/core/scope/context/JobSynchronizationManager.java:
##########
@@ -53,8 +53,8 @@ public static JobContext register(JobExecution jobExecution) {
         Enhancer enhancer = new Enhancer();
         enhancer.setSuperclass(JobExecution.class);
         enhancer.setCallback(new 
TenantAwareEqualsHashCodeAdvice(jobExecution));
-        return manager.register((JobExecution) enhancer.create(new Class[] { 
JobInstance.class, Long.class, JobParameters.class },
-                new Object[] { jobExecution.getJobInstance(), 
jobExecution.getId(), jobExecution.getJobParameters() }));
+        return manager.register((JobExecution) enhancer.create(new Class[] { 
long.class, JobInstance.class, JobParameters.class },

Review Comment:
   Any reason to change the order?



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