未验证 提交 2fc1148b 编写于 作者: F francis lee 提交者: GitHub

Merge pull request #3111 from codersfarm/develop

[ISSUE #3110]Fix: remove useless code 
...@@ -48,13 +48,6 @@ public class SelectMappedBufferResult { ...@@ -48,13 +48,6 @@ public class SelectMappedBufferResult {
this.byteBuffer.limit(this.size); this.byteBuffer.limit(this.size);
} }
// @Override
// protected void finalize() {
// if (this.mappedFile != null) {
// this.release();
// }
// }
public synchronized void release() { public synchronized void release() {
if (this.mappedFile != null) { if (this.mappedFile != null) {
this.mappedFile.release(); this.mappedFile.release();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册