This is an automated email from the ASF dual-hosted git repository.

bagrijp pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new 698e2ce8c chore: add lombok implementation to `ReportParameterJoinData`
698e2ce8c is described below

commit 698e2ce8c34e9efbc925444d737cf69e15a07484
Author: zeyad2003 <[email protected]>
AuthorDate: Wed Mar 6 23:17:53 2024 +0200

    chore: add lombok implementation to `ReportParameterJoinData`
    
    - Remove all getter methods, and the args constructor from the class.
    - Add the @Getter & @AllArgsConstructor annotations.
    - Check no issues happened in ReadReportingServiceImpl class.
---
 .../dataqueries/data/ReportParameterJoinData.java  | 75 ++--------------------
 1 file changed, 5 insertions(+), 70 deletions(-)

diff --git 
a/fineract-core/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ReportParameterJoinData.java
 
b/fineract-core/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ReportParameterJoinData.java
index 144da4e5a..edf7b07dd 100644
--- 
a/fineract-core/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ReportParameterJoinData.java
+++ 
b/fineract-core/src/main/java/org/apache/fineract/infrastructure/dataqueries/data/ReportParameterJoinData.java
@@ -18,6 +18,11 @@
  */
 package org.apache.fineract.infrastructure.dataqueries.data;
 
+import lombok.AllArgsConstructor;
+import lombok.Getter;
+
+@Getter
+@AllArgsConstructor
 public final class ReportParameterJoinData {
 
     private final Long reportId;
@@ -35,74 +40,4 @@ public final class ReportParameterJoinData {
     private final String reportParameterName;
     private final String parameterName;
 
-    public ReportParameterJoinData(final Long reportId, final String 
reportName, final String reportType, final String reportSubType,
-            final String reportCategory, final String description, final 
String reportSql, final Boolean coreReport,
-            final Boolean useReport, final Long reportParameterId, final Long 
parameterId, final String reportParameterName,
-            final String parameterName) {
-        this.reportId = reportId;
-        this.reportName = reportName;
-        this.reportType = reportType;
-        this.reportSubType = reportSubType;
-        this.reportCategory = reportCategory;
-        this.description = description;
-        this.reportSql = reportSql;
-        this.coreReport = coreReport;
-        this.useReport = useReport;
-        this.reportParameterId = reportParameterId;
-        this.parameterId = parameterId;
-        this.reportParameterName = reportParameterName;
-        this.parameterName = parameterName;
-    }
-
-    public Long getReportId() {
-        return this.reportId;
-    }
-
-    public String getReportName() {
-        return this.reportName;
-    }
-
-    public String getReportType() {
-        return this.reportType;
-    }
-
-    public String getReportSubType() {
-        return this.reportSubType;
-    }
-
-    public String getReportCategory() {
-        return this.reportCategory;
-    }
-
-    public String getReportSql() {
-        return this.reportSql;
-    }
-
-    public Boolean getCoreReport() {
-        return this.coreReport;
-    }
-
-    public Boolean getUseReport() {
-        return this.useReport;
-    }
-
-    public Long getReportParameterId() {
-        return this.reportParameterId;
-    }
-
-    public Long getParameterId() {
-        return this.parameterId;
-    }
-
-    public String getReportParameterName() {
-        return this.reportParameterName;
-    }
-
-    public String getParameterName() {
-        return this.parameterName;
-    }
-
-    public String getDescription() {
-        return this.description;
-    }
 }

Reply via email to