You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/01/15 20:35:39 UTC
svn commit: r1652252 -
/tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
Author: markt
Date: Thu Jan 15 19:35:39 2015
New Revision: 1652252
URL: http://svn.apache.org/r1652252
Log:
Make a couple of fields final and remove some unnecessary code.
Modified:
tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java?rev=1652252&r1=1652251&r2=1652252&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java Thu Jan 15 19:35:39 2015
@@ -103,13 +103,13 @@ public class Http11InputBuffer implement
/**
* Associated Coyote request.
*/
- private Request request;
+ private final Request request;
/**
* Headers of the associated request.
*/
- private MimeHeaders headers;
+ private final MimeHeaders headers;
/**
@@ -224,7 +224,6 @@ public class Http11InputBuffer implement
parsingRequestLineStart = 0;
parsingRequestLineQPos = -1;
headerParsePos = HeaderParsePosition.HEADER_START;
- headerData.recycle();
swallowInput = true;
inputStreamInputBuffer = new SocketInputBuffer();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org