hmg65 commented on code in PR #2554:
URL: https://github.com/apache/fineract/pull/2554#discussion_r973285991
##########
fineract-provider/src/main/java/org/apache/fineract/adhocquery/domain/AdHoc.java:
##########
@@ -55,23 +62,8 @@ public final class AdHoc extends AbstractAuditableCustom {
@Column(name = "report_run_every")
private Long reportRunEvery;
- @Column(name = "is_active", nullable = false)
- private boolean isActive = false;
-
- private AdHoc() {}
-
- private AdHoc(final String name, final String query, final String
tableName, final String tableFields, final String email,
- final Long reportRunFrequency, final Long reportRunEvery, final
boolean isActive) {
- this.name = StringUtils.defaultIfEmpty(name, null);
- this.query = StringUtils.defaultIfEmpty(query, null);
- this.tableName = StringUtils.defaultIfEmpty(tableName, null);
- this.tableFields = StringUtils.defaultIfEmpty(tableFields, null);
- this.email = StringUtils.defaultIfEmpty(email, null);
- this.reportRunFrequency = reportRunFrequency;
- this.reportRunEvery = reportRunEvery;
- this.isActive = BooleanUtils.toBooleanDefaultIfNull(isActive, false);
-
- }
+ @Column(name = "active", nullable = false)
Review Comment:
undone this change.
--
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]