mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-27 14:40:28 +00:00
Removed unused code
This commit is contained in:
parent
9641386541
commit
0fb347dbc5
@ -18,8 +18,6 @@ package docking;
|
||||
import java.awt.*;
|
||||
import java.awt.event.ComponentAdapter;
|
||||
import java.awt.event.ComponentEvent;
|
||||
import java.net.InetAddress;
|
||||
import java.net.UnknownHostException;
|
||||
import java.util.*;
|
||||
import java.util.List;
|
||||
|
||||
@ -145,18 +143,6 @@ public class ErrLogDialog extends AbstractErrDialog {
|
||||
return "Workstation: " + name;
|
||||
}
|
||||
|
||||
private Object getHostname() {
|
||||
String hostname = "<unknown>";
|
||||
try {
|
||||
InetAddress addr = InetAddress.getLocalHost();
|
||||
hostname = addr.getCanonicalHostName();
|
||||
}
|
||||
catch (UnknownHostException e) {
|
||||
// ignore
|
||||
}
|
||||
return hostname;
|
||||
}
|
||||
|
||||
public static void setErrorReporter(ErrorReporter errorReporter) {
|
||||
ErrLogDialog.errorReporter = errorReporter;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user