import org.jetbrains.ide.BuiltInServerManager;
import java.util.Collections;
import java.util.List;
public class BuiltInWebBrowserUrlProvider extends WebBrowserUrlProvider implements DumbAware {
@NotNull
<BUG>public static List<Url> getUrls(@NotNull VirtualFile file, @NotNull Project project, @Nullable String currentAuthority) {
if (currentAuthority != null && !compareAuthority(currentAuthority)) {</BUG>
return Collections.emptyList();
}
PathInfo info = WebServerPathToFileManager.getInstance(project).getPathInfo(file);

import org.jetbrains.ide.BuiltInServerManager;
import java.util.Collections;
import java.util.List;
public class BuiltInWebBrowserUrlProvider extends WebBrowserUrlProvider implements DumbAware {
@NotNull
public static List<Url> getUrls(@NotNull VirtualFile file, @NotNull Project project, @Nullable String currentAuthority) {
return getUrls(file, project, currentAuthority, true);
}
@NotNull
public static List<Url> getUrls(@NotNull VirtualFile file, @NotNull Project project, @Nullable String currentAuthority, boolean appendAccessToken) {
if (currentAuthority != null && !compareAuthority(currentAuthority)) {
return Collections.emptyList();
}
PathInfo info = WebServerPathToFileManager.getInstance(project).getPathInfo(file);
