Remove unneeded line from the method that normalizes decodedURI.
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 21 Dec 2009 13:20:01 +0000 (13:20 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 21 Dec 2009 13:20:01 +0000 (13:20 +0000)
commit292ab6a6719c3a4bd1d87ee0153177bda51ae9b8
tree6896e6306d05d9fae3b6a0d5c744221d2c4c5040
parent92222e239cf46f5ee3b7b8cd458bdb6e618a2a30
Remove unneeded line from the method that normalizes decodedURI.

The line "uriBC.setBytes(b, start, end);" is wrong, as it should have been "uriBC.setBytes(b, start, end - start);". I suppose that it worked because in the only place that calls this normalize() method the value of 'start' was always equal to zero.

Instead of fixing, I am removing that line, because it actually is not needed there at all, thanks to the uriBC.setEnd() calls above it.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892812 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/connector/CoyoteAdapter.java