Skip to content

Fix the BenGen ID Issue (#118)

9f7fb1c
Select commit
Loading
Failed to load commit list.
Merged

Move code from Release 3.4.0 to Main #119

Fix the BenGen ID Issue (#118)
9f7fb1c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Dec 3, 2025 in 42s

Quality Gate failed

Failed conditions
7 Security Hotspots
E Security Rating on New Code (required β‰₯ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 352 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DownloadDataFromServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLweydFu3AQM9KDn&open=AZrjvLweydFu3AQM9KDn&pullRequest=140

Check warning on line 355 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DownloadDataFromServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLweydFu3AQM9KDo&open=AZrjvLweydFu3AQM9KDo&pullRequest=140

Check failure on line 188 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct SQL queries directly from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KEA&open=AZrjvLyZydFu3AQM9KEA&pullRequest=140

Check warning on line 34 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DataSyncRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'org.springframework.data.annotation.CreatedDate'.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLxFydFu3AQM9KDt&open=AZrjvLxFydFu3AQM9KDt&pullRequest=140

Check warning on line 348 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DownloadDataFromServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLweydFu3AQM9KDl&open=AZrjvLweydFu3AQM9KDl&pullRequest=140

Check failure on line 197 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct SQL queries directly from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KD9&open=AZrjvLyZydFu3AQM9KD9&pullRequest=140

Check warning on line 43 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/GetMasterDataFromCentralForVanImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLzSydFu3AQM9KEE&open=AZrjvLzSydFu3AQM9KEE&pullRequest=140

Check warning on line 160 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentral.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either log this exception and handle it, or rethrow it with some contextual information.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvL24ydFu3AQM9KEM&open=AZrjvL24ydFu3AQM9KEM&pullRequest=140

Check warning on line 106 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DataSyncRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLxFydFu3AQM9KDs&open=AZrjvLxFydFu3AQM9KDs&pullRequest=140

Check warning on line 67 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/GetMasterDataFromCentralForVanImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLzSydFu3AQM9KEF&open=AZrjvLzSydFu3AQM9KEF&pullRequest=140

Check warning on line 106 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DataSyncRepository.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLxFydFu3AQM9KDr&open=AZrjvLxFydFu3AQM9KDr&pullRequest=140

Check warning on line 366 in src/main/java/com/iemr/mmu/service/dataSyncActivity/DownloadDataFromServerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either log this exception and handle it, or rethrow it with some contextual information.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLweydFu3AQM9KDp&open=AZrjvLweydFu3AQM9KDp&pullRequest=140

Check warning on line 163 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KDx&open=AZrjvLyZydFu3AQM9KDx&pullRequest=140

Check warning on line 45 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KDy&open=AZrjvLyZydFu3AQM9KDy&pullRequest=140

Check warning on line 477 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/GetDataFromVanAndSyncToDBImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvL2PydFu3AQM9KEK&open=AZrjvL2PydFu3AQM9KEK&pullRequest=140

Check warning on line 153 in src/main/java/com/iemr/mmu/utils/JwtUserIdValidationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvL3xydFu3AQM9KER&open=AZrjvL3xydFu3AQM9KER&pullRequest=140

Check warning on line 183 in src/main/java/com/iemr/mmu/controller/dataSyncActivity/StartSyncActivity.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvL4SydFu3AQM9KET&open=AZrjvL4SydFu3AQM9KET&pullRequest=140

Check warning on line 235 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentral.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either log this exception and handle it, or rethrow it with some contextual information.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvL24ydFu3AQM9KEP&open=AZrjvL24ydFu3AQM9KEP&pullRequest=140

Check warning on line 208 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentral.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either log this exception and handle it, or rethrow it with some contextual information.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvL24ydFu3AQM9KEN&open=AZrjvL24ydFu3AQM9KEN&pullRequest=140

Check warning on line 201 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the built-in formatting to construct this argument.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KDu&open=AZrjvLyZydFu3AQM9KDu&pullRequest=140

Check warning on line 223 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/GetDataFromVanAndSyncToDBImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvL2PydFu3AQM9KEI&open=AZrjvL2PydFu3AQM9KEI&pullRequest=140

Check failure on line 178 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct SQL queries directly from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KEB&open=AZrjvLyZydFu3AQM9KEB&pullRequest=140

Check failure on line 172 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this code to not construct SQL queries directly from user-controlled data.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KD8&open=AZrjvLyZydFu3AQM9KD8&pullRequest=140

Check warning on line 201 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KD5&open=AZrjvLyZydFu3AQM9KD5&pullRequest=140

Check warning on line 202 in src/main/java/com/iemr/mmu/service/dataSyncLayerCentral/DataSyncRepositoryCentralDownload.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Format specifiers should be used instead of string concatenation.

See more on https://sonarcloud.io/project/issues?id=PSMRI_MMU-API&issues=AZrjvLyZydFu3AQM9KD6&open=AZrjvLyZydFu3AQM9KD6&pullRequest=140