Comments in parsed CCSDS file cannot be updated
Hi all,
I tried to parse a message that contains comments, e.g. CDM or OEM, and then change or remove some comments before writing it to a file again. However, I was not able to do this. It looks like the comments are stored in a CommentsContainer and only accessible as a read-only list (Collections.unmodifiableList), hence not modifiable.
The easiest fixes would be to have CommentsContainer.getComments
return a modifiable List or to add a setter for the List comments
. I can implement such a change if there are no objections, but maybe you have better ideas!
Best, David