Skip to content

Commit

Permalink
fixes unhandled exception when empty auto complete clicked (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hunhoff authored Jul 10, 2023
1 parent b7bedaf commit 1554d19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/ghidrathon/GhidrathonPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import ghidra.util.task.TaskMonitorAdapter;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Collections;
import java.util.List;
import javax.swing.*;

Expand Down Expand Up @@ -113,7 +114,7 @@ public void flushConsole() {
@Override
public List<CodeCompletion> getCompletions(String cmd) {
// TODO Auto-generated method stub
return null;
return Collections.<CodeCompletion>emptyList();
}

private void resetInterpreter() {
Expand Down

0 comments on commit 1554d19

Please sign in to comment.