mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not lowercase file paths
This commit is contained in:
@@ -19,14 +19,11 @@
|
||||
*/
|
||||
package com.intellij.util.io;
|
||||
|
||||
import com.intellij.openapi.util.SystemInfo;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.util.containers.SLRUCache;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.Locale;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
public class PersistentHashMapValueStorage {
|
||||
@@ -60,8 +57,7 @@ public class PersistentHashMapValueStorage {
|
||||
};
|
||||
|
||||
public PersistentHashMapValueStorage(String path) throws IOException {
|
||||
myPath = SystemInfo.isFileSystemCaseSensitive? FileUtil.toSystemDependentName(path) : FileUtil.toSystemDependentName(path).toLowerCase(Locale.US);
|
||||
|
||||
myPath = path;
|
||||
myFile = new File(path);
|
||||
mySize = myFile.length();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user