mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0: Fixing deprecated comment API warnings
This commit is contained in:
parent
5772ac2ab8
commit
684177702e
120 changed files with 1595 additions and 1641 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue