Removed unused code

This commit is contained in:
dragonmacher 2022-05-16 10:55:58 -04:00
parent 9641386541
commit 0fb347dbc5

View File

@ -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;
}