You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
Is your feature request related to a problem? Please describe.
The sendMenteeApplicationEmails() method of the ProgramUtil class currently faces code smells of ExcessiveMethodLength and DuplicateCode. The method is excessively long and contains duplicate code blocks to handle sending application emails from different mentor states (APPROVED/REJECTED), which decreases readability and makes maintenance difficult.
Describe the solution you'd like
The proposed solution involves applying the "Extract Method" refactoring technique to create smaller, more focused methods. This includes:
Creating separate methods to build the email messages for approved and rejected mentors (buildApprovedEmailMessage and buildRejectedEmailMessage).
Extracting the logic for sending and saving emails into a common method (sendAndSaveEmail).
Describe alternatives you've considered
N/A
Additional context
N/A
Are you working on it?
Yes
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The sendMenteeApplicationEmails() method of the ProgramUtil class currently faces code smells of ExcessiveMethodLength and DuplicateCode. The method is excessively long and contains duplicate code blocks to handle sending application emails from different mentor states (APPROVED/REJECTED), which decreases readability and makes maintenance difficult.
Describe the solution you'd like
The proposed solution involves applying the "Extract Method" refactoring technique to create smaller, more focused methods. This includes:
Describe alternatives you've considered
N/A
Additional context
N/A
Are you working on it?
Yes
The text was updated successfully, but these errors were encountered: