Cleanup (warning)

This commit is contained in:
Roman Shevchenko
2016-04-12 13:39:13 +02:00
parent f1b7eec722
commit ca2374886a
@@ -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);