[ijent benchmarks] AT-1086 Use wrapDelegateFileSystem directly (proably not safe)

GitOrigin-RevId: 26821308ae0d35e696286f819e6a9568ea709f23
This commit is contained in:
Nikita Kudrin
2025-06-30 18:19:50 +00:00
committed by intellij-monorepo-bot
parent e6d6324914
commit 51c3c63b0e
2 changed files with 3 additions and 2 deletions
@@ -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}.
@@ -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);
}