mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs] rename method to match it function
This commit is contained in:
@@ -72,7 +72,7 @@ public class FilePathImpl implements FilePath {
|
||||
return new File(child.getPath());
|
||||
}
|
||||
|
||||
private void detectCharset() {
|
||||
private void detectFileType() {
|
||||
VirtualFile file = myVirtualFile;
|
||||
if (file == null || !file.isValid() || file.isDirectory()) return;
|
||||
FileType fileType = file.getFileType();
|
||||
@@ -214,7 +214,7 @@ public class FilePathImpl implements FilePath {
|
||||
if (myVirtualFile != null && !myVirtualFile.isValid()) {
|
||||
myVirtualFile = null;
|
||||
}
|
||||
detectCharset();
|
||||
detectFileType();
|
||||
return myVirtualFile;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user