Skip to content

Remove Unused javax.inject.Qualifier Import#1798

Open
zealot-zew wants to merge 1 commit intomosip:masterfrom
zealot-zew:unused-import
Open

Remove Unused javax.inject.Qualifier Import#1798
zealot-zew wants to merge 1 commit intomosip:masterfrom
zealot-zew:unused-import

Conversation

@zealot-zew
Copy link
Copy Markdown

Summary

This PR removes a redundant and deprecated import in EmailNotificationUtils.java to clean up the codebase and complete the transition away from the javax.* namespace.

Problem

Line 27 of EmailNotificationUtils.java imports javax.inject.Qualifier, which is:

  • Unused: No members of the class utilize this annotation.
  • Legacy: It belongs to the old Java EE namespace, whereas the project has migrated to Jakarta EE.

Changes

  • File: EmailNotificationUtils.java
  • Action: Deleted the import javax.inject.Qualifier; statement.

The import javax.inject.Qualifier was never referenced anywhere in the
class and is a leftover from before the project's Java EE to Jakarta EE
migration. Remove it to keep the codebase clean and consistent with the
rest of the project which uses jakarta.* imports.

Signed-off-by: Harihara Vardhan <hariharavardhan1234@gmail.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 25, 2026

Warning

Rate limit exceeded

@zealot-zew has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 43 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 29 minutes and 43 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3095e5cb-eabe-42f6-958c-7ef53ffbdf0e

📥 Commits

Reviewing files that changed from the base of the PR and between c30080f and c5d48f9.

📒 Files selected for processing (1)
  • kernel/kernel-notification-service/src/main/java/io/mosip/kernel/emailnotification/util/EmailNotificationUtils.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant