Skip to content

Commit 4789039

Browse files
javier-godoypaodb
authored andcommitted
docs: fix Javadoc warning
1 parent fe0fd59 commit 4789039

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

src/main/java/com/flowingcode/vaadin/addons/errorwindow/ErrorWindow.java

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class ErrorWindow extends Dialog {
8181
/**
8282
* Constructs and initializes an ErrorWindow object with the supplied cause and default production mode and i18n.
8383
*
84-
* @param cause: The cause of the error
84+
* @param cause The cause of the error
8585
*/
8686
public ErrorWindow(final Throwable cause) {
8787
this(cause, null, isProductionMode(), ErrorWindowI18n.createDefault());
@@ -90,8 +90,8 @@ public ErrorWindow(final Throwable cause) {
9090
/**
9191
* Constructs and initializes an ErrorWindow object with the supplied details and and default production mode.
9292
*
93-
* @param cause: The cause of the error
94-
* @param i18n: The internationalization of the ErrorWindow
93+
* @param cause The cause of the error
94+
* @param i18n The internationalization of the ErrorWindow
9595
*/
9696
public ErrorWindow(final Throwable cause, final ErrorWindowI18n i18n) {
9797
this(cause, null, isProductionMode(), i18n);
@@ -100,8 +100,8 @@ public ErrorWindow(final Throwable cause, final ErrorWindowI18n i18n) {
100100
/**
101101
* Constructs and initializes an ErrorWindow object with the supplied details and default and default production mode and i18n.
102102
*
103-
* @param cause: The cause of the error
104-
* @param errorMessage: An optional error message
103+
* @param cause The cause of the error
104+
* @param errorMessage An optional error message
105105
*/
106106
public ErrorWindow(final Throwable cause, final String errorMessage) {
107107
this(cause, errorMessage, isProductionMode(), ErrorWindowI18n.createDefault());
@@ -110,9 +110,9 @@ public ErrorWindow(final Throwable cause, final String errorMessage) {
110110
/**
111111
* Constructs and initializes an ErrorWindow object with the supplied details and default production mode.
112112
*
113-
* @param cause: The cause of the error
114-
* @param errorMessage: An optional error message
115-
* @param i18n: The internationalization of the ErrorWindow
113+
* @param cause The cause of the error
114+
* @param errorMessage An optional error message
115+
* @param i18n The internationalization of the ErrorWindow
116116
*/
117117
public ErrorWindow(final Throwable cause, final String errorMessage, final ErrorWindowI18n i18n) {
118118
this(cause, errorMessage, isProductionMode(), i18n);
@@ -121,9 +121,10 @@ public ErrorWindow(final Throwable cause, final String errorMessage, final Error
121121
/**
122122
* Constructs and initializes an ErrorWindow object with the supplied details and default i18n.
123123
*
124-
* @param cause: The cause of the error
125-
* @param errorMessage: An optional error message
126-
* @param productionMode: The mode in which the Application is running. If true, a code is displayed with error details, else debug information is shown
124+
* @param cause The cause of the error
125+
* @param errorMessage An optional error message
126+
* @param productionMode The mode in which the Application is running. If true, a code is
127+
* displayed with error details, else debug information is shown
127128
*/
128129
public ErrorWindow(final Throwable cause, final String errorMessage, boolean productionMode) {
129130
this(cause, errorMessage, productionMode, ErrorWindowI18n.createDefault());
@@ -132,10 +133,11 @@ public ErrorWindow(final Throwable cause, final String errorMessage, boolean pro
132133
/**
133134
* Constructs and initializes an ErrorWindow object with the supplied details.
134135
*
135-
* @param cause: The cause of the error
136-
* @param errorMessage: An optional error message
137-
* @param productionMode: The mode in which the Application is running. If true, a code is displayed with error details, else debug information is shown
138-
* @param i18n: The internationalization of the ErrorWindow
136+
* @param cause The cause of the error
137+
* @param errorMessage An optional error message
138+
* @param productionMode The mode in which the Application is running. If true, a code is
139+
* displayed with error details, else debug information is shown
140+
* @param i18n The internationalization of the ErrorWindow
139141
*/
140142
public ErrorWindow(
141143
final Throwable cause,
@@ -179,8 +181,8 @@ public ErrorWindow(ErrorDetails errorDetails, boolean productionMode) {
179181
* Constructs and initializes an ErrorWindow object with the supplied error details and internationalization.
180182
* This constructor allows for provision of additional information, which is an ErrorDetails object.
181183
*
182-
* @param errorDetails: The ErrorDetails object
183-
* @param i18n: The internationalization of the ErrorWindow
184+
* @param errorDetails The ErrorDetails object
185+
* @param i18n The internationalization of the ErrorWindow
184186
*/
185187
public ErrorWindow(ErrorDetails errorDetails, final ErrorWindowI18n i18n) {
186188
this(errorDetails.getThrowable(), errorDetails.getCause(), i18n);

0 commit comments

Comments
 (0)