From 47aebea652fde354a7e3fefa15844c67260c8b14 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 30 Sep 2014 14:46:56 +0200 Subject: [PATCH] Cleanup (minor optimization) --- .../util/src/com/intellij/openapi/util/io/win32/IdeaWin32.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/openapi/util/io/win32/IdeaWin32.java b/platform/util/src/com/intellij/openapi/util/io/win32/IdeaWin32.java index 586668af3864..7ebab8a22349 100644 --- a/platform/util/src/com/intellij/openapi/util/io/win32/IdeaWin32.java +++ b/platform/util/src/com/intellij/openapi/util/io/win32/IdeaWin32.java @@ -17,6 +17,7 @@ package com.intellij.openapi.util.io.win32; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.SystemInfo; +import com.intellij.util.SystemProperties; import com.intellij.util.lang.UrlClassLoader; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; @@ -35,7 +36,7 @@ public class IdeaWin32 { static { IdeaWin32 instance = null; - if (SystemInfo.isWin2kOrNewer && Boolean.parseBoolean(System.getProperty("idea.use.native.fs.for.win", "true"))) { + if (SystemInfo.isWin2kOrNewer && SystemProperties.getBooleanProperty("idea.use.native.fs.for.win", true)) { try { UrlClassLoader.loadPlatformLibrary("IdeaWin32"); instance = new IdeaWin32();