You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fs...@apache.org on 2016/03/13 15:40:58 UTC

svn commit: r1734812 - /tomcat/tc8.5.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java

Author: fschumacher
Date: Sun Mar 13 14:40:58 2016
New Revision: 1734812

URL: http://svn.apache.org/viewvc?rev=1734812&view=rev
Log:
Use final to make actxt available to Runnable.

Modified:
    tomcat/tc8.5.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java

Modified: tomcat/tc8.5.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java?rev=1734812&r1=1734811&r2=1734812&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java (original)
+++ tomcat/tc8.5.x/trunk/test/org/apache/catalina/core/TestAsyncContextImpl.java Sun Mar 13 14:40:58 2016
@@ -1371,7 +1371,7 @@ public class TestAsyncContextImpl extend
         protected void doGet(HttpServletRequest req, final HttpServletResponse resp)
                 throws ServletException, IOException {
 
-            AsyncContext actxt = req.startAsync();
+            final AsyncContext actxt = req.startAsync();
             actxt.setTimeout(TIMEOUT);
             if (threaded) {
                 actxt.start(new Runnable() {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org