gnodet-bot commented on code in PR #27144:
URL: https://github.com/apache/camel/pull/27144#discussion_r4147197765
##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/SourceTab.java:
##########
@@ -1244,7 +1253,7 @@ Map<Integer, SourceViewer.JumpLink> computeJumpLinks(Path
currentFile) {
fromUriToRoute.put(re.fromUri(), re);
}
- if (currentFilePath.endsWith(".java")) {
+ if (currentFilePath.endsWith(".java") ||
currentFilePath.toLowerCase().endsWith(".xml")) {
// the steps of a Java route are in the index with their lines, as
the parser read them
Review Comment:
💡 **Nit:** This comment says "the steps of a Java route" but now this branch
also applies to XML routes.
```suggestion
// the steps of a Java or XML route are in the index with their
lines, as the parser read them
```
--
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]