removed some return values

This commit is contained in:
hneemann 2017-07-16 21:26:52 +02:00
parent ee329195e9
commit 8f0a481023

View File

@ -75,20 +75,17 @@ public class ErrorMessage implements Runnable {
/**
* Shows the error message
*
* @return this for call chaining
*/
public ErrorMessage show() {
return show(null);
public void show() {
show(null);
}
/**
* Shows the error message
*
* @param parent the parent
* @return this for call chaining
*/
public ErrorMessage show(Component parent) {
public void show(Component parent) {
JOptionPane optionPane = new JOptionPane(
new LineBreaker(120)
.toHTML()
@ -99,7 +96,6 @@ public class ErrorMessage implements Runnable {
dialog.setAlwaysOnTop(true);
dialog.setVisible(true);
dialog.dispose();
return this;
}
/**