FINERACT-2510: Resolve compilation warnings in fineract-core#5554
FINERACT-2510: Resolve compilation warnings in fineract-core#5554Ambika-Sony wants to merge 1 commit intoapache:developfrom
Conversation
|
Please Squash & Commit |
2c5a17e to
828a7e3
Compare
did it |
@Ambika-Sony please run ./gradlew spotlessApply spotbugsMain spotbugsTest checkstyleMain checkstyleTest as pre commit checks [Incubating] Problems report is available at: file:///home/runner/work/fineract/fineract/build/reports/problems/problems-report.html
Run './gradlew :fineract-core:spotlessApply' to fix these violations.
|
a4b3cbd to
1d8a135
Compare
I'v successfully run spotlessApply, spotbugs, and checkstyle locally as requested, and the build is passing. Thank you for the guidance. |
9fe492a to
adede23
Compare
adede23 to
8e36464
Compare
|
8e36464 to
d93b7f6
Compare
| }; | ||
| } | ||
|
|
||
| @SuppressWarnings("deprecation") |
There was a problem hiding this comment.
Please remove the suppression... that is not fixing anything but hiding...
| this.enhancers = enhancers.orElse(new ArrayList<>()); | ||
| } | ||
|
|
||
| @SuppressWarnings({ "unchecked", "rawtypes" }) |
There was a problem hiding this comment.
Please remove the suppression... that is not fixing anything but hiding...
| var payLoad = method.invoke(null, byteBuffer); | ||
| if (externalEvent.getType().equalsIgnoreCase("BulkBusinessEvent")) { | ||
| var methodToGetDatas = payLoad.getClass().getMethod("getDatas", (Class<?>) null); | ||
| @SuppressWarnings("unchecked") |
There was a problem hiding this comment.
Please remove the suppression... that is not fixing anything but hiding...
|
@Ambika-Sony Gentle reminder. |
…re test compatibility git rebase --continue Resolve compilation warnings in fineract-core and ensure test compatibility
1faf66b to
a68f1ee
Compare
Description
The details regarding these changes are present on the associated Apache Fineract JIRA ticket.
Summary of work:
Resolved 45 compilation warnings in the fineract-core module,
Replaced deprecated ObjectUtils.defaultIfNull and Date(String) constructor.
Fixed unchecked casts and raw type usage in DataEnricherProcessor and InternalExternalEventService.
Verified the module now compiles cleanly with a "BUILD SUCCESSFUL" status.
Your assigned reviewer(s) will follow our guidelines for code reviews.