From cb951b5354abb2dceeb5857cdac2e2c9cc26482a Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Tue, 22 Dec 2009 18:13:59 +0300 Subject: [PATCH] jni for internals --- .../intellij/openapi/vfs/newvfs/persistent/RefreshWorker.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/RefreshWorker.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/RefreshWorker.java index 3cf55b766c6e..0cb6ea5c8059 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/RefreshWorker.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/RefreshWorker.java @@ -19,6 +19,7 @@ */ package com.intellij.openapi.vfs.newvfs.persistent; +import com.intellij.openapi.application.ex.ApplicationManagerEx; import com.intellij.openapi.util.SystemInfo; import com.intellij.openapi.util.registry.Registry; import com.intellij.openapi.vfs.LocalFileSystem; @@ -58,7 +59,7 @@ public class RefreshWorker { } else { if (delegate.getProtocol().equals(LocalFileSystem.PROTOCOL) && - root.isDirectory() && + root.isDirectory() && ApplicationManagerEx.getApplicationEx().isInternal() && Registry.is("filesystem.useNative")) { if (SystemInfo.isWindows && Win32LocalFileSystem.isAvailable()) {