mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-172705 Big files marked as read-only can't be deleted
This commit is contained in:
@@ -23,9 +23,4 @@ public class PsiLargeTextFileImpl extends PsiPlainTextFileImpl implements PsiLar
|
||||
public PsiLargeTextFileImpl(FileViewProvider viewProvider) {
|
||||
super(viewProvider);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isWritable() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -456,7 +456,6 @@ public class PsiDocumentManagerImplTest extends PlatformTestCase {
|
||||
Document document = getDocument(psiFile);
|
||||
|
||||
assertNotNull(document);
|
||||
assertFalse(psiFile.isWritable());
|
||||
assertInstanceOf(psiFile, PsiLargeTextFile.class);
|
||||
|
||||
assertLargeFileContentLimited(content, vFile, document);
|
||||
|
||||
Reference in New Issue
Block a user