This commit is contained in:
Alexey Kudravtsev
2018-06-08 14:43:41 +03:00
parent 4a64b22fab
commit 87060561c0
@@ -270,9 +270,6 @@ public class ContentEntryImpl extends RootModelComponentBase implements ContentE
@Override
public ExcludeFolder addExcludeFolder(@NotNull VirtualFile file) {
assert !isDisposed();
if (!file.isDirectory()) {
throw new IllegalArgumentException("File must be folder but got: "+file);
}
assertCanAddFolder(file);
return addExcludeFolder(new ExcludeFolderImpl(file, this));
}