click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r956243 - /click/trunk/click/framework/src/org/apache/click/ClickServlet.java
Date Sat, 19 Jun 2010 15:53:09 GMT
Author: sabob
Date: Sat Jun 19 15:53:08 2010
New Revision: 956243

URL: http://svn.apache.org/viewvc?rev=956243&view=rev
Log:
removed redundent context lookup

Modified:
    click/trunk/click/framework/src/org/apache/click/ClickServlet.java

Modified: click/trunk/click/framework/src/org/apache/click/ClickServlet.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ClickServlet.java?rev=956243&r1=956242&r2=956243&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ClickServlet.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ClickServlet.java Sat Jun 19 15:53:08
2010
@@ -1042,7 +1042,7 @@ public class ClickServlet extends HttpSe
             logRequestParameters(request);
         }
 
-        String path = Context.getThreadLocalContext().getResourcePath();
+        String path = context.getResourcePath();
 
         if (request.getAttribute(FORWARD_PAGE) != null) {
             Page forwardPage = (Page) request.getAttribute(FORWARD_PAGE);



Mime
View raw message