Skip to content

fix: remove unwanted codes

81edd8e
Select commit
Loading
Failed to load commit list.
Merged

Role Based Broken Access Control Implementation : WASA #139

fix: remove unwanted codes
81edd8e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 25, 2025 in 40s

Quality Gate failed

Annotations

Check warning on line 30 in src/main/java/com/iemr/mmu/controller/location/LocationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this duplicated import.

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

Check warning on line 37 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.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=AZq52gwb5sfE8SmZpGc9&open=AZq52gwb5sfE8SmZpGc9&pullRequest=139

Check failure on line 35 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"logger" is the name of a field in "GenericFilterBean".

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

Check warning on line 112 in src/main/java/com/iemr/mmu/utils/redis/RedisStorage.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=AZq52gw_5sfE8SmZpGdL&open=AZq52gw_5sfE8SmZpGdL&pullRequest=139

Check warning on line 21 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.iemr.mmu.utils.JwtUserIdValidationFilter'.

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

Check warning on line 82 in src/main/java/com/iemr/mmu/utils/JwtAuthenticationUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "roles" local variable.

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

Check warning on line 29 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'jakarta.servlet.http.Cookie'.

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

Check warning on line 85 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

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

Check warning on line 35 in src/main/java/com/iemr/mmu/controller/teleconsultation/TeleConsultationController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this duplicated import.

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

Check warning on line 43 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.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=AZq52gwb5sfE8SmZpGc_&open=AZq52gwb5sfE8SmZpGc_&pullRequest=139

Check warning on line 71 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

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

Check warning on line 40 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.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=AZq52gwb5sfE8SmZpGc-&open=AZq52gwb5sfE8SmZpGc-&pullRequest=139

Check warning on line 18 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.iemr.mmu.service.login.IemrMmuLoginServiceImpl'.

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

Check warning on line 17 in src/main/java/com/iemr/mmu/utils/mapper/RoleAuthenticationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.iemr.mmu.service.common.transaction.CommonServiceImpl'.

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

Check warning on line 131 in src/main/java/com/iemr/mmu/utils/redis/RedisStorage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

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