mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ijent benchmarks] AT-1086 Use wrapDelegateFileSystem directly (proably not safe)
GitOrigin-RevId: 26821308ae0d35e696286f819e6a9568ea709f23
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e6d6324914
commit
51c3c63b0e
+2
-1
@@ -4,6 +4,7 @@ package com.intellij.platform.core.nio.fs;
|
||||
import org.jetbrains.annotations.Contract;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.annotations.VisibleForTesting;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
@@ -38,7 +39,7 @@ public abstract class DelegatingFileSystemProvider<
|
||||
/**
|
||||
* @return A delegating file system which is bound to this provider.
|
||||
*/
|
||||
protected abstract @NotNull F wrapDelegateFileSystem(@NotNull FileSystem delegateFs);
|
||||
public abstract @NotNull F wrapDelegateFileSystem(@NotNull FileSystem delegateFs);
|
||||
|
||||
/**
|
||||
* @param path1 A path passed to some method of {@link FileSystemProvider}.
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ public final class MultiRoutingFileSystemProvider
|
||||
}
|
||||
|
||||
@Override
|
||||
protected @NotNull MultiRoutingFileSystem wrapDelegateFileSystem(@NotNull FileSystem delegateFs) {
|
||||
public @NotNull MultiRoutingFileSystem wrapDelegateFileSystem(@NotNull FileSystem delegateFs) {
|
||||
return new MultiRoutingFileSystem(this, delegateFs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user