From d4c7f37fc4bb772607c830b2b7f40542e913a9a8 Mon Sep 17 00:00:00 2001 From: Behrang Fouladi Date: Fri, 21 Apr 2023 10:18:04 +0200 Subject: [PATCH] remove annotation & clone() --- Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java b/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java index 475f808298..7d50f50b5a 100644 --- a/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java +++ b/Ghidra/Features/Decompiler/ghidra_scripts/ShowConstantUse.java @@ -868,8 +868,7 @@ public class ShowConstantUse extends GhidraScript { return; case PcodeOp.MULTIEQUAL: for (int i = 0; i < def.getNumInputs(); i++) { - @SuppressWarnings("unchecked") - ArrayList splitUseList = (ArrayList) defUseList.clone(); + ArrayList splitUseList = new ArrayList<>(defUseList); followToParam(constUse, splitUseList, highFunction, def.getInput(i), funcList, doneSet); }