mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-CR-55503: turn off log as editor tab by default
(cherry picked from commit ee6936940994eb323131076bf4cc9cb263550387) GitOrigin-RevId: 3e8ce441e2059b40ab21872a9a6f068191daa9f7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
89647051ea
commit
1df6c96014
@@ -241,6 +241,7 @@ public class VfsUtilCore {
|
||||
@NotNull
|
||||
public static VirtualFile copyFile(Object requestor, @NotNull VirtualFile file, @NotNull VirtualFile toDir, @NotNull String newName) throws IOException {
|
||||
VirtualFile newChild = toDir.createChildData(requestor, newName);
|
||||
newChild.setBOM(file.getBOM());
|
||||
newChild.setBinaryContent(file.contentsToByteArray(), -1, -1, requestor);
|
||||
return newChild;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user