mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Fixed comment, removed unused import WW-3100
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@783012 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -59,7 +59,6 @@ import com.opensymphony.xwork2.ActionProxy;
|
||||
import com.opensymphony.xwork2.ActionProxyFactory;
|
||||
import com.opensymphony.xwork2.ObjectFactory;
|
||||
import com.opensymphony.xwork2.Result;
|
||||
import com.opensymphony.xwork2.UnknownHandler;
|
||||
import com.opensymphony.xwork2.config.Configuration;
|
||||
import com.opensymphony.xwork2.config.ConfigurationException;
|
||||
import com.opensymphony.xwork2.config.ConfigurationManager;
|
||||
@@ -694,7 +693,7 @@ public class Dispatcher {
|
||||
String content_type = request.getContentType();
|
||||
if (content_type != null && content_type.indexOf("multipart/form-data") != -1) {
|
||||
MultiPartRequest mpr = null;
|
||||
//add all available UnknownHandlers
|
||||
//check for alternate implementations of MultiPartRequest
|
||||
Set<String> multiNames = getContainer().getInstanceNames(MultiPartRequest.class);
|
||||
if (multiNames != null) {
|
||||
for (String multiName : multiNames) {
|
||||
|
||||
Reference in New Issue
Block a user