mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
removed deprecated
This commit is contained in:
@@ -366,12 +366,4 @@ public abstract class WriteCommandAction<T> extends BaseActionRunnable<T> {
|
||||
public static <T, E extends Throwable> T runWriteCommandAction(Project project, @NotNull final ThrowableComputable<T, E> computable) throws E {
|
||||
return writeCommandAction(project).compute(computable);
|
||||
}
|
||||
|
||||
//<editor-fold desc="Deprecated stuff.">
|
||||
/** @deprecated use {@link FileModificationService#preparePsiElementsForWrite(Collection)} (to be removed in IDEA 2018) */
|
||||
@SuppressWarnings("unused")
|
||||
public static boolean ensureFilesWritable(@NotNull Project project, @NotNull Collection<PsiFile> psiFiles) {
|
||||
return FileModificationService.getInstance().preparePsiElementsForWrite(psiFiles);
|
||||
}
|
||||
//</editor-fold>
|
||||
}
|
||||
Reference in New Issue
Block a user