github-advanced-security[bot] commented on code in PR #1258:
URL: https://github.com/apache/syncope/pull/1258#discussion_r2735825579
##########
core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/PersistenceTestContext.java:
##########
@@ -126,7 +128,9 @@
final PersistenceProperties props,
@Qualifier("MasterDataSource")
final JndiObjectFactoryBean masterDataSource,
- final CommonEntityManagerFactoryConf commonEMFConf) {
+ final CommonEntityManagerFactoryConf commonEMFConf,
+ final @Lazy ConnectorManager connectorManager,
+ final @Lazy ExternalResourceDAO resourceDAO) {
Review Comment:
## Useless parameter
The parameter 'resourceDAO' is never used.
[Show more
details](https://github.com/apache/syncope/security/code-scanning/2518)
##########
core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/PersistenceTestContext.java:
##########
@@ -126,7 +128,9 @@
final PersistenceProperties props,
@Qualifier("MasterDataSource")
final JndiObjectFactoryBean masterDataSource,
- final CommonEntityManagerFactoryConf commonEMFConf) {
+ final CommonEntityManagerFactoryConf commonEMFConf,
+ final @Lazy ConnectorManager connectorManager,
Review Comment:
## Useless parameter
The parameter 'connectorManager' is never used.
[Show more
details](https://github.com/apache/syncope/security/code-scanning/2517)
--
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]