mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Platform: Local History can survive for more than 30 days now
This commit is contained in:
@@ -128,7 +128,7 @@ public class LocalHistoryImpl extends LocalHistory implements ApplicationCompone
|
||||
public void disposeComponent() {
|
||||
if (!isInitialized.getAndSet(false)) return;
|
||||
|
||||
int period = Registry.intValue("localHistory.daysToKeep") * 1000 * 60 * 60 * 24;
|
||||
long period = Registry.intValue("localHistory.daysToKeep") * 1000 * 60 * 60 * 24;
|
||||
|
||||
VirtualFileManager fm = VirtualFileManager.getInstance();
|
||||
fm.removeVirtualFileListener(myEventDispatcher);
|
||||
|
||||
Reference in New Issue
Block a user