ErrorDialog: Remove unused constructor

Change-Id: I77a1915f32127cabbd972c74a6ed55ef05c77853
This commit is contained in:
David Pursehouse
2016-05-09 21:51:09 +09:00
committed by Hugo Arès
parent 4caa536865
commit 40763ab67c

View File

@@ -27,7 +27,6 @@ import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwtexpui.safehtml.client.SafeHtml;
import com.google.gwtjsonrpc.client.RemoteJsonException;
@@ -96,11 +95,6 @@ public class ErrorDialog extends PopupPanel {
body.add(message.toBlockWidget());
}
public ErrorDialog(final Widget w) {
this();
body.add(w);
}
/** Create a dialog box to nicely format an exception. */
public ErrorDialog(final Throwable what) {
this();