mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
indexes: cleanup
GitOrigin-RevId: 5f68e4201b07a7a285b73a82b64434b67e68acbc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
081e14df40
commit
4937676f78
@@ -143,11 +143,10 @@ public class ResizeableMappedFile implements Forceable {
|
||||
return new DataOutputStream(Files.newOutputStream(lengthFile));
|
||||
}
|
||||
catch (NoSuchFileException ex) {
|
||||
final File parentFile = lengthFile.getParent().toFile();
|
||||
|
||||
if (!parentFile.exists()) {
|
||||
Path parent = lengthFile.getParent();
|
||||
if (!Files.exists(parent)) {
|
||||
if (!parentWasCreated) {
|
||||
parentFile.mkdirs();
|
||||
Files.createDirectories(parent);
|
||||
parentWasCreated = true;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user