Author: fschumacher
Date: Sun Mar 13 14:45:33 2016
New Revision: 1734814
URL: http://svn.apache.org/viewvc?rev=1734814&view=rev
Log:
Use final to make resp and ac available to Runnable.
Modified:
tomcat/tc8.5.x/trunk/test/org/apache/coyote/http11/TestHttp11Processor.java
Modified:
tomcat/tc8.5.x/trunk/test/org/apache/coyote/http11/TestHttp11Processor.java
URL:
http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/test/org/apache/coyote/http11/TestHttp11Processor.java?rev=1734814&r1=1734813&r2=1734814&view=diff
==============================================================================
--- tomcat/tc8.5.x/trunk/test/org/apache/coyote/http11/TestHttp11Processor.java
(original)
+++ tomcat/tc8.5.x/trunk/test/org/apache/coyote/http11/TestHttp11Processor.java
Sun Mar 13 14:45:33 2016
@@ -745,9 +745,9 @@ public class TestHttp11Processor extends
private static final long serialVersionUID = 1L;
@Override
- protected void doPut(HttpServletRequest req, HttpServletResponse resp)
+ protected void doPut(HttpServletRequest req, final HttpServletResponse
resp)
throws ServletException, IOException {
- AsyncContext ac = req.startAsync();
+ final AsyncContext ac = req.startAsync();
ac.start(new Runnable() {
@Override
public void run() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]