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 2021/11/15 17:04:36 UTC

[tomcat] branch main updated: Remove test implementation committed in error

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

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


The following commit(s) were added to refs/heads/main by this push:
     new e296a91  Remove test implementation committed in error
e296a91 is described below

commit e296a915849ff5ef0eec537ab04bba577d3bf0d3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Nov 15 17:04:30 2021 +0000

    Remove test implementation committed in error
---
 .../catalina/webresources/MyCacheStrategy.java     | 29 ----------------------
 1 file changed, 29 deletions(-)

diff --git a/java/org/apache/catalina/webresources/MyCacheStrategy.java b/java/org/apache/catalina/webresources/MyCacheStrategy.java
deleted file mode 100644
index ac23782..0000000
--- a/java/org/apache/catalina/webresources/MyCacheStrategy.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.catalina.webresources;
-
-import org.apache.catalina.WebResourceRoot.CacheStrategy;
-
-public class MyCacheStrategy implements CacheStrategy {
-
-
-    @Override
-    public boolean noCache(String path) {
-        System.out.println(path);
-        return true;
-    }
-}

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