From f1cccf138aa460f5081a475c9eaea7304c10221b Mon Sep 17 00:00:00 2001 From: James Woglom Date: Thu, 26 Dec 2024 20:21:13 -0500 Subject: [PATCH] fix byte[] in message cargo javadoc --- scripts/javadoc_messagecargo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/javadoc_messagecargo.py b/scripts/javadoc_messagecargo.py index cf85e01..e9d9387 100644 --- a/scripts/javadoc_messagecargo.py +++ b/scripts/javadoc_messagecargo.py @@ -137,8 +137,8 @@ def bytes_for_argument(arg_str, start_offset): if inside: elems = [x.strip() for x in inside.group(1).split(',') if x.strip()] lines = [] - for i, _ in enumerate(elems): - desc = f"new byte[]{{...}} [element {i}]" + for i, v in enumerate(elems): + desc = f"new byte[]{{{v}}} [element {i}]" lines.append((start_offset + i, desc)) return lines return []