Author: mrdon
Date: Wed Jan 10 18:51:40 2007
New Revision: 495094
URL: http://svn.apache.org/viewvc?view=rev&rev=495094
Log:
Fixed unused message lookup
WW-1631
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java?view=diff&rev=495094&r1=495093&r2=495094
==============================================================================
---
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java
(original)
+++
struts/struts2/trunk/core/src/main/java/org/apache/struts2/interceptor/FileUploadInterceptor.java
Wed Jan 10 18:51:40 2007
@@ -248,7 +248,6 @@
File[] files = multiWrapper.getFiles(inputName);
if (files != null) {
for (int index = 0; index < files.length; index++) {
- getTextMessage("struts.messages.current.file", new
Object[]{inputName, contentType[index], fileName[index], files[index]},
ActionContext.getContext().getLocale());
if (acceptFile(files[index], contentType[index],
inputName, validation, ac.getLocale())) {
parameters.put(inputName, files);