-
Notifications
You must be signed in to change notification settings - Fork 177
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
MOSIP-31617: Sonar Fixes #1537
base: develop
Are you sure you want to change the base?
MOSIP-31617: Sonar Fixes #1537
Conversation
Signed-off-by: HimajaDhanyamraju2 <[email protected]>
…op-fork-java21
Signed-off-by: HimajaDhanyamraju2 <[email protected]>
Signed-off-by: HimajaDhanyamraju2 <[email protected]>
...-config-server/src/main/java/io/mosip/kernel/config/server/controller/RefreshController.java
Outdated
Show resolved
Hide resolved
...enerator-service/src/main/java/io/mosip/kernel/vidgenerator/constant/VIDHealthConstants.java
Outdated
Show resolved
Hide resolved
...-idgenerator-service/src/main/java/io/mosip/kernel/idgenerator/constant/HealthConstants.java
Outdated
Show resolved
Hide resolved
Signed-off-by: HimajaDhanyamraju2 <[email protected]>
Signed-off-by: HimajaDhanyamraju2 <[email protected]>
@@ -84,7 +84,7 @@ public ResponseDto sendEmail(String[] mailTo, String[] mailCc, String mailSubjec | |||
} | |||
|
|||
@Async | |||
private void send(String[] mailTo, String[] mailCc, String mailSubject, String mailContent, | |||
public void send(String[] mailTo, String[] mailCc, String mailSubject, String mailContent, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we change this to public ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was mentioned that @async annotated methods must be public. Please check this sonar rule - https://sonarcloud.io/organizations/mosip/rules?open=java%3AS2230&rule_key=java%3AS2230
* @since 1.0.0 | ||
* | ||
*/ | ||
public class HibernatePersistenceConstant { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We cannot delete files since we are in LTS, confirmed on this to this to Sasi also
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can mark it deprecated, but we cannot delete the files.
Fixed vulnerabilities, reliability issues and removed some duplications