You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by du...@apache.org on 2022/05/24 02:14:26 UTC

[rocketmq] branch 5.0.0-beta updated: style: remove unused CleanFilesHook.java class (#4260)

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

duhengforever pushed a commit to branch 5.0.0-beta
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/5.0.0-beta by this push:
     new c6fbd7497 style: remove unused CleanFilesHook.java class (#4260)
c6fbd7497 is described below

commit c6fbd749746da23620fd44a60d40b60d008427e4
Author: cnScarb <jj...@163.com>
AuthorDate: Tue May 24 10:14:21 2022 +0800

    style: remove unused CleanFilesHook.java class (#4260)
---
 .../org/apache/rocketmq/store/CleanFilesHook.java  | 23 ----------------------
 1 file changed, 23 deletions(-)

diff --git a/store/src/main/java/org/apache/rocketmq/store/CleanFilesHook.java b/store/src/main/java/org/apache/rocketmq/store/CleanFilesHook.java
deleted file mode 100644
index ef6e22a8f..000000000
--- a/store/src/main/java/org/apache/rocketmq/store/CleanFilesHook.java
+++ /dev/null
@@ -1,23 +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.rocketmq.store;
-
-public interface CleanFilesHook {
-    void execute(DefaultMessageStore defaultMessageStore, long deleteCount);
-
-    String getName();
-}