mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
jni for internals
This commit is contained in:
+2
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user