Skip to content

Commit

Permalink
Merge pull request #22947 from qmonmert/sonarunusedrepository
Browse files Browse the repository at this point in the history
Sonar: Remove this unused 'xxxRepository' private field (not just for reactive)
  • Loading branch information
DanielFran authored Jul 22, 2023
2 parents d966bdc + 4284266 commit c352dea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
const beans = [];
if (viaService) {
beans.push({class: `${entityClass}Service`, instance: `${entityInstance}Service`});
if (!(readOnly && reactive)) {
if (!readOnly) {
beans.push({class: `${entityClass}Repository`, instance: `${entityInstance}Repository`});
}
if (queryService && !reactive) {
Expand Down

0 comments on commit c352dea

Please sign in to comment.