Skip to content

Commit

Permalink
remove duplicated code and un-used import (apache#8376)
Browse files Browse the repository at this point in the history
### Motivation

remove duplicated code and un-used import
  • Loading branch information
aloyszhang authored Oct 27, 2020
1 parent ba7b2ff commit 5dcfdbe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,7 @@ public void recycle() {
entryId = -1L;
batchSize = 0L;
startTimeNs = -1L;
ledgerId = -1;
entryId = -1;
batchSize = 0;
chunked = false;
startTimeNs = -1;
recyclerHandle.recycle(this);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
import org.apache.pulsar.common.util.FutureUtil;
import org.apache.pulsar.common.util.collections.ConcurrentLongHashMap;
import org.apache.pulsar.client.impl.transaction.TransactionBufferHandler;
import org.apache.pulsar.transaction.common.exception.TransactionConflictException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down

0 comments on commit 5dcfdbe

Please sign in to comment.