mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
HtmlFormatterTest time bombed
This commit is contained in:
@@ -105,7 +105,10 @@ public class ReadonlyStatusHandlerImpl extends ReadonlyStatusHandler implements
|
||||
private FileInfo[] createFileInfos(VirtualFile[] files) {
|
||||
FileInfo[] result = new FileInfo[files.length];
|
||||
for (int i = 0; i < result.length; i++) {
|
||||
result[i] = new FileInfo(files[i], myProject);
|
||||
final VirtualFile file = files[i];
|
||||
if (!file.isWritable()) {
|
||||
result[i] = new FileInfo(file, myProject);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user