tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From violet...@apache.org
Subject svn commit: r1498413 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/ApplicationHttpRequest.java webapps/docs/changelog.xml
Date Mon, 01 Jul 2013 12:40:25 GMT
Author: violetagg
Date: Mon Jul  1 12:40:25 2013
New Revision: 1498413

URL: http://svn.apache.org/r1498413
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55158
Merged revision 1498409 from tomcat/trunk:
Small performance improvement
Patch provided by Adrian Nistor

Modified:
    tomcat/tc7.0.x/trunk/   (props changed)
    tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationHttpRequest.java
    tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
  Merged /tomcat/trunk:r1498409

Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationHttpRequest.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationHttpRequest.java?rev=1498413&r1=1498412&r2=1498413&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationHttpRequest.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationHttpRequest.java Mon Jul
 1 12:40:25 2013
@@ -925,9 +925,10 @@ class ApplicationHttpRequest extends Htt
 
         public AttributeNamesEnumerator() {
             parentEnumeration = getRequest().getAttributeNames();
-            for (int i = 0; i < specialAttributes.length; i++) {
+            for (int i = specialAttributes.length - 1; i >= 0; i--) {
                 if (getAttribute(specials[i]) != null) {
                     last = i;
+                    break;
                 }
             }
         }

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1498413&r1=1498412&r2=1498413&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Mon Jul  1 12:40:25 2013
@@ -83,9 +83,9 @@
         fails to read a user&apos;s credentials. (markt)
       </fix>
       <fix>
-        <bug>55073</bug>, <bug>55108</bug>, <bug>55109</bug>,
<bug>55110</bug>
-        &amp; <bug>55159</bug>: Small performance improvements. Patches
-        provided by Adrian Nistor. (markt/violetagg)
+        <bug>55073</bug>, <bug>55108</bug>, <bug>55109</bug>,
<bug>55110</bug>,
+        <bug>55158</bug> &amp; <bug>55159</bug>: Small performance
improvements.
+        Patches provided by Adrian Nistor. (markt/violetagg)
       </fix>
       <add>
         <bug>55102</bug>: Add support for time to first byte in the



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


Mime
View raw message