mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -51,16 +51,8 @@ public class FilePathImpl implements FilePath {
|
||||
final boolean isDirectory,
|
||||
VirtualFile child,
|
||||
final boolean forDeleted) {
|
||||
myLocal = true;
|
||||
this(virtualParent == null ? new File(name) : new File(new File(virtualParent.getPath()), name), isDirectory, true);
|
||||
myVirtualParent = virtualParent;
|
||||
myName = name;
|
||||
myIsDirectory = isDirectory;
|
||||
if (myVirtualParent == null) {
|
||||
myFile = new File(myName);
|
||||
}
|
||||
else {
|
||||
myFile = new File(new File(myVirtualParent.getPath()), myName);
|
||||
}
|
||||
|
||||
if (!forDeleted) {
|
||||
if (child == null) {
|
||||
|
||||
Reference in New Issue
Block a user