mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
Drops unused code
This commit is contained in:
-13
@@ -505,19 +505,6 @@ public class JakartaStreamMultiPartRequest implements MultiPartRequest {
|
||||
return new LocalizedMessage(this.getClass(), errorKey, e.getMessage(), args);
|
||||
}
|
||||
|
||||
/**
|
||||
* Build action message.
|
||||
*
|
||||
* @param e the Throwable/Exception
|
||||
* @param args arguments
|
||||
* @return action message
|
||||
*/
|
||||
private String buildMessage(Throwable e, Object[] args) {
|
||||
String messageKey = "struts.message.upload.message." + e.getClass().getSimpleName();
|
||||
LOG.debug("Preparing message for key: [{}]", messageKey);
|
||||
return LocalizedTextUtil.findText(this.getClass(), messageKey, defaultLocale, e.getMessage(), args);
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal data structure used to store a reference to information needed
|
||||
* to later pass post processing data to the <code>FileUploadInterceptor</code>.
|
||||
|
||||
Reference in New Issue
Block a user