From 1d11f8f133d7f97dbe2df76b5440af3cdaa47c75 Mon Sep 17 00:00:00 2001 From: Asad Date: Sun, 13 Oct 2024 17:45:42 -0400 Subject: [PATCH] Fix outdated JavaDoc for DecompInterface.openProgram The JavaDoc for the DecompInterface.openProgram method referenced an obsolete second argument (language). Updated the documentation to match the current method signature, which only takes a single argument (program). cc: @sheetjsdev --- .../src/main/java/ghidra/app/decompiler/DecompInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompInterface.java b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompInterface.java index 4ecaf2e2b1..25622a2c93 100644 --- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompInterface.java +++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompInterface.java @@ -59,7 +59,7 @@ import ghidra.util.task.TaskMonitor; * * // Setup up the actual decompiler process for a * // particular program, using all the above initialization - * ifc.openProgram(program,language); + * ifc.openProgram(program); * * // Make calls to the decompiler: * DecompileResults res = ifc.decompileFunction(func,0,taskmonitor);