GP-0: Fixing deprecated comment API warnings

This commit is contained in:
Ryan Kurtz 2025-06-02 09:54:19 -04:00
parent 5772ac2ab8
commit 684177702e
120 changed files with 1595 additions and 1641 deletions

View file

@ -166,7 +166,7 @@ public class SarifController implements ObjectSelectedListener<Map<String, Objec
* {@link program.model.listing.CodeUnit}
*/
String comment = (String) value;
getProgram().getListing().setComment(addr, CodeUnit.PLATE_COMMENT, comment);
getProgram().getListing().setComment(addr, CommentType.PLATE, comment);
break;
case "highlight":
Color color = Color.decode((String) value);