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


##########
dsl/camel-jbang/camel-jbang-it/src/test/java/org/apache/camel/dsl/jbang/it/support/JBangTestSupport.java:
##########
@@ -150,6 +150,8 @@ protected enum TestResources {
         STUB_ROUTE("StubRoute.java", "/jbang/it/StubRoute.java"),
         HISTORY_ROUTE("HistoryRoute.java", "/jbang/it/HistoryRoute.java"),
         USER_SOURCE_KAMELET("user-source.kamelet.yaml", 
"/jbang/it/user-source.kamelet.yaml"),
+        GROUP_ROUTE("GroupRoute.java", "/jbang/it/GroupRoute.java"),
+        ERROR_ROUTE("error-route.yaml", "/jbang/it/error-route.yaml"),

Review Comment:
   ❌ **Merge conflict artifact — `GROUP_ROUTE` declared twice, will not 
compile**
   
   This merge of `main` added `GROUP_ROUTE` before `USER_SOURCE_CONSUMER`, but 
`main` already has `GROUP_ROUTE` as the last enum constant. Java forbids 
duplicate enum constant names — this file will not compile.
   
   Remove `GROUP_ROUTE` from the new additions; keep only `ERROR_ROUTE`:
   
   ```suggestion
           USER_SOURCE_KAMELET("user-source.kamelet.yaml", 
"/jbang/it/user-source.kamelet.yaml"),
           ERROR_ROUTE("error-route.yaml", "/jbang/it/error-route.yaml"),
   ```



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