IDEA-CR-2749 must not be strict — root could be requested

This commit is contained in:
Vladimir Krivosheev
2015-05-18 15:43:05 +02:00
parent c679615edf
commit 062d7dbc1a
@@ -260,7 +260,7 @@ final class DefaultWebServerRootsProvider extends WebServerRootsProvider {
@Override
public boolean process(Library library) {
for (VirtualFile root : library.getFiles(javaDocRootType)) {
if (VfsUtilCore.isAncestor(root, file, true)) {
if (VfsUtilCore.isAncestor(root, file, false)) {
result.set(new PathInfo(file, root, null, true));
return false;
}