Repository: struts Updated Branches: refs/heads/default-provider [created] bb19a6209
WW-4762 Drops unused code Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/45d1a491 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/45d1a491 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/45d1a491 Branch: refs/heads/default-provider Commit: 45d1a491311a82f6b2404d839e7e18269a26192f Parents: b46a6e7 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Wed Apr 26 11:55:49 2017 +0200 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Wed Apr 26 11:55:49 2017 +0200 ---------------------------------------------------------------------- .../org/apache/struts2/util/StrutsTestCaseHelper.java | 11 ----------- 1 file changed, 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/45d1a491/core/src/main/java/org/apache/struts2/util/StrutsTestCaseHelper.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/struts2/util/StrutsTestCaseHelper.java b/core/src/main/java/org/apache/struts2/util/StrutsTestCaseHelper.java index 9c449f5..f8994d1 100644 --- a/core/src/main/java/org/apache/struts2/util/StrutsTestCaseHelper.java +++ b/core/src/main/java/org/apache/struts2/util/StrutsTestCaseHelper.java @@ -23,7 +23,6 @@ package org.apache.struts2.util; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.inject.Container; -import com.opensymphony.xwork2.util.DefaultLocalizedTextProvider; import com.opensymphony.xwork2.util.ValueStack; import com.opensymphony.xwork2.util.ValueStackFactory; import org.apache.struts2.dispatcher.Dispatcher; @@ -40,16 +39,6 @@ import java.util.Map; */ public class StrutsTestCaseHelper { - /** - * Sets up the configuration settings, XWork configuration, and - * message resources - * - * @throws Exception in case of any error - */ - public static void setUp() throws Exception { - DefaultLocalizedTextProvider.clearDefaultResourceBundles(); - } - public static Dispatcher initDispatcher(ServletContext ctx, Map<String,String> params) { if (params == null) { params = new HashMap<>();