Skip to content

Introduce Lombok to accountnumberformat module (FINERACT-1727)#3094

Closed
abhinav7sinha wants to merge 1 commit intoapache:developfrom
abhinav7sinha:lombok-accountnumberformat
Closed

Introduce Lombok to accountnumberformat module (FINERACT-1727)#3094
abhinav7sinha wants to merge 1 commit intoapache:developfrom
abhinav7sinha:lombok-accountnumberformat

Conversation

@abhinav7sinha
Copy link
Copy Markdown
Contributor

Description

Describe the changes made and why they were made.

Ignore if these details are present on the associated Apache Fineract JIRA ticket.

Checklist

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Write the commit message as per https://github.com/apache/fineract/#pull-requests

  • Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

  • Create/update unit or integration tests for verifying the changes made.

  • Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

  • Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

  • Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@abhinav7sinha abhinav7sinha force-pushed the lombok-accountnumberformat branch 2 times, most recently from 89cc39b to 7b16f2a Compare April 3, 2023 14:41
@adamsaghy
Copy link
Copy Markdown
Contributor

@abhinav7sinha Please dont forget to run a checkstyle check before committing any new code. It is failing with checkstyle errors as of now.
You can run it by ./gradlew spotlessApply

@abhinav7sinha
Copy link
Copy Markdown
Contributor Author

@abhinav7sinha Please dont forget to run a checkstyle check before committing any new code. It is failing with checkstyle errors as of now. You can run it by ./gradlew spotlessApply

Understood, thanks. Doing so now

@adamsaghy
Copy link
Copy Markdown
Contributor

@abhinav7sinha Please dont forget to squash the commits!

@abhinav7sinha abhinav7sinha force-pushed the lombok-accountnumberformat branch from ac2eb50 to 24077d0 Compare April 3, 2023 21:11
@abhinav7sinha
Copy link
Copy Markdown
Contributor Author

@abhinav7sinha Please dont forget to squash the commits!

done!

@adamsaghy
Copy link
Copy Markdown
Contributor

@abhinav7sinha Unfortunately, it is not correct as you have merged other people PRs into your PR!
Please try to rebase instead of merge.

@abhinav7sinha abhinav7sinha force-pushed the lombok-accountnumberformat branch 2 times, most recently from df59bf3 to 06a820b Compare April 3, 2023 21:55
@abhinav7sinha abhinav7sinha force-pushed the lombok-accountnumberformat branch from 06a820b to f210d99 Compare April 3, 2023 22:03
@abhinav7sinha abhinav7sinha marked this pull request as draft April 3, 2023 22:05
@abhinav7sinha
Copy link
Copy Markdown
Contributor Author

@abhinav7sinha Unfortunately, it is not correct as you have merged other people PRs into your PR! Please try to rebase instead of merge.

got it @adamsaghy
I'm converting it to a draft while I test the changes some more

@abhinav7sinha abhinav7sinha marked this pull request as ready for review April 3, 2023 23:15
@abhinav7sinha
Copy link
Copy Markdown
Contributor Author

@abhinav7sinha Unfortunately, it is not correct as you have merged other people PRs into your PR! Please try to rebase instead of merge.

got it @adamsaghy I'm converting it to a draft while I test the changes some more

@adamsaghy I've marked this as ready for review now, thanks!

@abhinav7sinha
Copy link
Copy Markdown
Contributor Author

abhinav7sinha commented Apr 8, 2023

checkStyle thinks that AccountNumberFormatEnumerations has a public/default constructor, but I'm using a lombok annotation to explicitly create a Private constructor @NoArgsConstructor(access = AccessLevel.PRIVATE)

[ERROR] /home/runner/work/fineract/fineract/fineract-provider/src/main/java/org/apache/fineract/infrastructure/accountnumberformat/domain/AccountNumberFormatEnumerations.java:35:1: Utility classes should not have a public or default constructor.

Additionally, running spotlessCheck on my local mac didn't reveal this issue.

Do you have any ideas on how I could resolve this? Or do you think I may be missing something here?
@adamsaghy

@galovics
Copy link
Copy Markdown
Contributor

galovics commented May 10, 2023

Do you have any ideas on how I could resolve this? Or do you think I may be missing something here?

Don't use lombok for that. That's all.

@github-actions
Copy link
Copy Markdown

This pull request seems to be stale. Are you still planning to work on it? We will automatically close it in 30 days.

@github-actions github-actions Bot added the stale label Jun 10, 2023
@galovics galovics closed this Jul 6, 2023
@abhinav7sinha abhinav7sinha deleted the lombok-accountnumberformat branch December 4, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants