Skip to content

Commit ac0df0f

Browse files
Update agent_api/src/main/java/dev/aikido/agent_api/api_discovery/DataSchemaGenerator.java
1 parent 1c9177d commit ac0df0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agent_api/src/main/java/dev/aikido/agent_api/api_discovery/DataSchemaGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static DataSchemaItem getDataSchema(Object data) {
2424

2525
private DataSchemaItem getDataSchema(Object data, int depth, Set<Object> scanned) {
2626
if (depth > MAX_TRAVERSAL_DEPTH) {
27-
// Don't go beyond the traversal depth.
27+
// avoid expensive recursion loops
2828
return new DataSchemaItem(DataSchemaType.EMPTY);
2929
}
3030
depth += 1;

0 commit comments

Comments
 (0)