davsclaus commented on code in PR #28182:
URL: https://github.com/apache/camel/pull/28182#discussion_r4329434186


##########
catalog/camel-route-parser/src/main/java/org/apache/camel/parser/model/CoverageData.java:
##########
@@ -61,4 +65,28 @@ public int getLineNumber() {
     public void setLineNumber(int lineNumber) {
         this.lineNumber = lineNumber;
     }
+
+    /**
+     * The body types the node has been reached with, in the order first seen 
(empty when the route coverage dump has
+     * none, as when the tests ran without the message history).
+     */
+    public List<String> getBodyTypes() {
+        return bodyTypes;
+    }
+
+    public void setBodyTypes(List<String> bodyTypes) {
+        this.bodyTypes = bodyTypes != null ? bodyTypes : List.of();
+    }
+
+    /**
+     * The kinds of the bodies the node has been reached with: null, payload, 
data or iterator. More than one means the

Review Comment:
   Fixed in 0af5a8c: the Javadoc now says `collection`.
   
   _Claude Code on behalf of davsclaus_



##########
catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/model/RouteCoverageNode.java:
##########
@@ -74,6 +78,28 @@ public void setLevel(int level) {
         this.level = level;
     }
 
+    /**
+     * The body types the node has been reached with, from the route coverage 
dump.
+     */
+    public List<String> getBodyTypes() {
+        return bodyTypes;
+    }
+
+    public void setBodyTypes(List<String> bodyTypes) {
+        this.bodyTypes = bodyTypes != null ? bodyTypes : List.of();
+    }
+
+    /**
+     * The kinds of the bodies the node has been reached with: null, payload, 
data or iterator.

Review Comment:
   Fixed in 0af5a8c: the Javadoc now says `collection`.
   
   _Claude Code on behalf of davsclaus_



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