mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unused FileUtils.saveText
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
package com.intellij.xml.actions.xmlbeans;
|
||||
|
||||
|
||||
import com.intellij.openapi.vfs.VfsUtil;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
import java.io.*;
|
||||
@@ -62,11 +60,6 @@ public class FileUtils {
|
||||
return name + num + ext;
|
||||
}
|
||||
|
||||
|
||||
public static void saveText(VirtualFile virtualFile, String text) throws IOException {
|
||||
VfsUtil.saveText(virtualFile, text);
|
||||
}
|
||||
|
||||
public static boolean copyFile(File in, File out) {
|
||||
try {
|
||||
FileInputStream fis = new FileInputStream(in);
|
||||
|
||||
Reference in New Issue
Block a user