Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the visibility of the reportParser field #1216

Merged
merged 8 commits into from
Nov 16, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class ReportBuilder {
private static final ObjectMapper mapper = new ObjectMapper();

private ReportResult reportResult;
private final ReportParser reportParser;
protected ReportParser reportParser;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use getter/setter method instead and add unit test into

class ReportBuilderTest extends ReportGenerator {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your reply @damianszczepanik!
Let me try

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@damianszczepanik
I have made the required changes.
Please let me know if you have more suggestions.


private Configuration configuration;
private List<String> jsonFiles;
Expand Down