mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (warning)
This commit is contained in:
@@ -249,9 +249,9 @@ public class BaseOSProcessHandler extends ProcessHandler implements TaskExecutor
|
||||
return myCharset;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public static class ExecutorServiceHolder {
|
||||
/** @deprecated use {@link BaseOSProcessHandler#executeTask(Runnable)} instead (to be removed in IDEA 16) */
|
||||
@Deprecated
|
||||
/** @deprecated use {@link BaseOSProcessHandler#executeTask(Runnable)} instead (to be removed in IDEA 17) */
|
||||
public static Future<?> submit(@NotNull Runnable task) {
|
||||
LOG.warn("Deprecated method. Please use com.intellij.execution.process.BaseOSProcessHandler.executeTask() instead", new Throwable());
|
||||
return AppExecutorUtil.getAppExecutorService().submit(task);
|
||||
|
||||
Reference in New Issue
Block a user