You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by va...@apache.org on 2021/12/01 08:45:59 UTC

[bookkeeper] branch master updated: Cleanup unused Journal#EMPTY_ARRAY_LIST (#2917)

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

vanlightly pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new f6ebb0f  Cleanup unused Journal#EMPTY_ARRAY_LIST (#2917)
f6ebb0f is described below

commit f6ebb0f7bf41d2dbce2f314f1178a03ff976f87a
Author: JiangHaiting <ja...@qq.com>
AuthorDate: Wed Dec 1 16:45:52 2021 +0800

    Cleanup unused Journal#EMPTY_ARRAY_LIST (#2917)
---
 .../src/main/java/org/apache/bookkeeper/bookie/Journal.java              | 1 -
 1 file changed, 1 deletion(-)

diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Journal.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Journal.java
index 52b8a02..2c054a1 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Journal.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/Journal.java
@@ -75,7 +75,6 @@ public class Journal extends BookieCriticalThread implements CheckpointSource {
 
     private static final RecyclableArrayList.Recycler<QueueEntry> entryListRecycler =
         new RecyclableArrayList.Recycler<QueueEntry>();
-    private static final RecyclableArrayList<QueueEntry> EMPTY_ARRAY_LIST = new RecyclableArrayList<>();
 
     /**
      * Filter to pickup journals.