rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tiger...@apache.org
Subject [rocketmq] branch develop updated: remove useless code
Date Fri, 09 Jul 2021 01:53:18 GMT
This is an automated email from the ASF dual-hosted git repository.

tigerlee pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7f1cb79  remove useless code
     new 2fc1148  Merge pull request #3111 from codersfarm/develop
7f1cb79 is described below

commit 7f1cb795bd80aa3792254d8c465ea8494184b83e
Author: codersfarm <1272198093@qq.com>
AuthorDate: Wed Jun 30 15:11:17 2021 +0800

    remove useless code
---
 .../java/org/apache/rocketmq/store/SelectMappedBufferResult.java   | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/store/src/main/java/org/apache/rocketmq/store/SelectMappedBufferResult.java b/store/src/main/java/org/apache/rocketmq/store/SelectMappedBufferResult.java
index 034b964..03061e6 100644
--- a/store/src/main/java/org/apache/rocketmq/store/SelectMappedBufferResult.java
+++ b/store/src/main/java/org/apache/rocketmq/store/SelectMappedBufferResult.java
@@ -48,13 +48,6 @@ public class SelectMappedBufferResult {
         this.byteBuffer.limit(this.size);
     }
 
-//    @Override
-//    protected void finalize() {
-//        if (this.mappedFile != null) {
-//            this.release();
-//        }
-//    }
-
     public synchronized void release() {
         if (this.mappedFile != null) {
             this.mappedFile.release();

Mime
View raw message