gnodet-bot commented on code in PR #26845:
URL: https://github.com/apache/camel/pull/26845#discussion_r4095423279


##########
components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcComponent.java:
##########
@@ -17,22 +17,23 @@
 package org.apache.camel.component.jdbc;
 
 import java.util.Map;

Review Comment:
   ⚠️ **Compile error — `import java.util.Set` was accidentally removed.**
   
   The import cleanup for `onSecretRotation()` (which no longer needs `Set`, 
`Collections`, or `IdentityHashMap` directly) also removed `import 
java.util.Set;`, but `createEndpoint()` at line 60 still uses `Set<DataSource>`:
   
   ```java
   Set<DataSource> dataSources = 
getCamelContext().getRegistry().findByType(DataSource.class);
   ```
   
   CI confirms: `JdbcComponent.java#L60 — cannot find symbol`.
   
   Add the missing import back:
   
   ```suggestion
   import java.util.Map;
   import java.util.Set;
   ```



-- 
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]

Reply via email to