adamsaghy commented on code in PR #5236:
URL: https://github.com/apache/fineract/pull/5236#discussion_r2622956832
##########
custom/acme/loan/starter/src/main/java/com/acme/fineract/loan/starter/AcmeLoanAutoConfiguration.java:
##########
@@ -26,11 +26,11 @@
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
-import org.springframework.context.annotation.ComponentScans;
@AutoConfiguration
-@ComponentScans({ @ComponentScan("com.acme.fineract.loan.cob"),
@ComponentScan("com.acme.fineract.loan.processor"),
- @ComponentScan("com.acme.fineract.loan.job") })
+@ComponentScan("com.acme.fineract.loan.cob")
+@ComponentScan("com.acme.fineract.loan.processor")
+@ComponentScan("com.acme.fineract.loan.job")
Review Comment:
While it is not incorrect, but maybe this one is more readable:
```
@ComponentScan(basePackages = {
"com.acme.fineract.loan.cob",
"com.acme.fineract.loan.processor",
"com.acme.fineract.loan.job"
})
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]