diff --git a/core/src/main/java/org/apache/struts2/dispatcher/multipart/MultiPartRequestWrapper.java b/core/src/main/java/org/apache/struts2/dispatcher/multipart/MultiPartRequestWrapper.java index 571f5c3d3..a947caea7 100644 --- a/core/src/main/java/org/apache/struts2/dispatcher/multipart/MultiPartRequestWrapper.java +++ b/core/src/main/java/org/apache/struts2/dispatcher/multipart/MultiPartRequestWrapper.java @@ -47,7 +47,7 @@ import java.util.*; * *
* The files are uploaded when the object is instantiated. If there are any errors they are logged using - * {@link #addError(String)}. An action handling a multipart form should first check {@link #hasErrors()} + * {@link #addError(LocalizedMessage)}. An action handling a multipart form should first check {@link #hasErrors()} * before doing any other processing. *
*