Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import com.intellij.openapi.application.ApplicationInfo;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.Extensions;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vfs.VirtualFile;
Expand All @@ -22,7 +21,6 @@
import org.jetbrains.annotations.Nullable;

import javax.swing.*;
import java.util.Arrays;
import java.util.Objects;

public class FlutterProjectOpenProcessor extends ProjectOpenProcessor {
Expand Down Expand Up @@ -76,7 +74,7 @@ public Project doOpenProject(@NotNull VirtualFile file, @Nullable Project projec

@Nullable
protected ProjectOpenProcessor getDelegateImportProvider(@NotNull VirtualFile file) {
return Arrays.stream(Extensions.getExtensions(EXTENSION_POINT_NAME)).filter(
return EXTENSION_POINT_NAME.getExtensionList().stream().filter(
processor -> processor.canOpenProject(file) && !Objects.equals(processor.getName(), getName())
).findFirst().orElse(null);
}
Expand Down
Loading