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 2020/02/19 11:20:46 UTC

[tomcat] branch 8.5.x updated: Trivial clean-up / align with 9.0.x

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 720618c  Trivial clean-up / align with 9.0.x
720618c is described below

commit 720618c16e5ac2c773c81588db9dfd623378e0d0
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Feb 19 11:19:12 2020 +0000

    Trivial clean-up / align with 9.0.x
---
 java/org/apache/catalina/core/ApplicationFilterConfig.java  | 2 --
 java/org/apache/catalina/core/ApplicationFilterFactory.java | 4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/core/ApplicationFilterConfig.java b/java/org/apache/catalina/core/ApplicationFilterConfig.java
index dc146fc..7ceab8f 100644
--- a/java/org/apache/catalina/core/ApplicationFilterConfig.java
+++ b/java/org/apache/catalina/core/ApplicationFilterConfig.java
@@ -14,8 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
-
 package org.apache.catalina.core;
 
 
diff --git a/java/org/apache/catalina/core/ApplicationFilterFactory.java b/java/org/apache/catalina/core/ApplicationFilterFactory.java
index cc3267c..e066f94 100644
--- a/java/org/apache/catalina/core/ApplicationFilterFactory.java
+++ b/java/org/apache/catalina/core/ApplicationFilterFactory.java
@@ -212,8 +212,8 @@ public final class ApplicationFilterFactory {
                 && (period != requestPath.length() - 1)
                 && ((requestPath.length() - period)
                     == (testPath.length() - 1))) {
-                return (testPath.regionMatches(2, requestPath, period + 1,
-                                               testPath.length() - 2));
+                return testPath.regionMatches(2, requestPath, period + 1,
+                                               testPath.length() - 2);
             }
         }
 


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