Skip to content

Commit 8deb3c1

Browse files
committed
Delete useless code
1 parent e5e0905 commit 8deb3c1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

store/src/main/java/org/apache/rocketmq/store/CommitLog.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -174,17 +174,6 @@ public boolean load() {
174174
return result;
175175
}
176176

177-
public void cleanResourceAll() {
178-
// Clean all mapped file resources
179-
if (mappedFileQueue != null) {
180-
for (MappedFile mappedFile : mappedFileQueue.getMappedFiles()) {
181-
if (mappedFile instanceof ReferenceResource) {
182-
((ReferenceResource) mappedFile).cleanup(0);
183-
}
184-
}
185-
}
186-
}
187-
188177
public void start() {
189178
this.flushManager.start();
190179
log.info("start commitLog successfully. storeRoot: {}", this.defaultMessageStore.getMessageStoreConfig().getStorePathRootDir());

0 commit comments

Comments
 (0)