summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/host-webapp/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-18 06:39:14 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-05-18 06:39:14 +0000
commit7000c420043cfc5b03b0df6426df06b0ba7bce61 (patch)
tree142217d95fb78ddeec84e29299ae7d1cba8331d3 /sca-java-2.x/trunk/modules/host-webapp/src
parent87aa28717abc2990ddfb0076d8fd10a17a701b66 (diff)
TUSCANY-3555: apply change from Henry Saputra to remove an unnecessary cast
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@945519 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/host-webapp/src')
-rw-r--r--sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java
index 1dc6a3c594..d7569eb91e 100644
--- a/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java
+++ b/sca-java-2.x/trunk/modules/host-webapp/src/main/java/org/apache/tuscany/sca/host/webapp/WebAppHelper.java
@@ -177,7 +177,7 @@ public class WebAppHelper {
}
private static WebAppServletHost getServletHost(final ServletContext servletContext) throws ServletException {
- WebAppServletHost host = (WebAppServletHost) getServletHost(factory);
+ WebAppServletHost host = getServletHost(factory);
host.init(new ServletConfig() {
public String getInitParameter(String name) {
return servletContext.getInitParameter(name);