mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-30 18:10:44 +08:00
Merge pull request #3111 from codersfarm/develop
[ISSUE #3110]Fix: remove useless code
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user