mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
n/a TDDE: TraceableDisposable.throwDisposalError 118.699 118.699 1
This commit is contained in:
+4
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2011 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -73,6 +73,9 @@ public abstract class ContentFolderBaseImpl extends RootModelComponentBase imple
|
||||
|
||||
@Override
|
||||
public VirtualFile getFile() {
|
||||
if (!myFilePointer.isValid()) {
|
||||
return null;
|
||||
}
|
||||
final VirtualFile file = myFilePointer.getFile();
|
||||
return file == null || !file.isDirectory() ? null : file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user