hmg65 commented on code in PR #2662:
URL: https://github.com/apache/fineract/pull/2662#discussion_r995220784


##########
fineract-provider/src/main/java/org/apache/fineract/organisation/holiday/service/HolidayReadPlatformServiceImpl.java:
##########
@@ -79,7 +79,8 @@ public HolidayData mapRow(final ResultSet rs, 
@SuppressWarnings("unused") final
             final Integer reschedulingType = JdbcSupport.getInteger(rs, 
"reschedulingType");
             final EnumOptionData status = 
HolidayEnumerations.holidayStatusType(statusEnum);
 
-            return new HolidayData(id, name, description, fromDate, toDate, 
repaymentsScheduleTO, status, reschedulingType);
+            return new 
HolidayData().setId(id).setName(name).setDescription(description).setFromDate(fromDate).setToDate(toDate)

Review Comment:
   @galovics we have to follow the logic of HolidayData or Holiday??



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