From 4e8bd6f09bf8a4ff1a3f3d682a56bc6cb7a02d33 Mon Sep 17 00:00:00 2001 From: Wesley Wannemacher Date: Tue, 9 Jun 2009 14:15:54 +0000 Subject: [PATCH] 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 --- .../main/java/org/apache/struts2/dispatcher/Dispatcher.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java b/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java index 2bb96e62d..c2ae7b28e 100644 --- a/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java +++ b/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java @@ -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 multiNames = getContainer().getInstanceNames(MultiPartRequest.class); if (multiNames != null) { for (String multiName : multiNames) {