mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove deprecated CONTENT_TO_REUSE_DATA_KEY
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -32,7 +32,7 @@ import org.jetbrains.concurrency.Promise;
|
||||
*/
|
||||
public abstract class AsyncGenericProgramRunner<Settings extends RunnerSettings> extends BaseProgramRunner<Settings> {
|
||||
@Override
|
||||
protected final void execute(@NotNull ExecutionEnvironment environment,
|
||||
protected void execute(@NotNull ExecutionEnvironment environment,
|
||||
@Nullable Callback callback,
|
||||
@NotNull RunProfileState state) throws ExecutionException {
|
||||
prepare(environment, state)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -13,7 +13,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.intellij.execution.runners;
|
||||
|
||||
import com.intellij.execution.ExecutionException;
|
||||
@@ -22,15 +21,11 @@ import com.intellij.execution.RunProfileStarter;
|
||||
import com.intellij.execution.configurations.RunProfileState;
|
||||
import com.intellij.execution.configurations.RunnerSettings;
|
||||
import com.intellij.execution.ui.RunContentDescriptor;
|
||||
import com.intellij.openapi.actionSystem.DataKey;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public abstract class GenericProgramRunner<Settings extends RunnerSettings> extends BaseProgramRunner<Settings> {
|
||||
@Deprecated
|
||||
public static final DataKey<RunContentDescriptor> CONTENT_TO_REUSE_DATA_KEY = DataKey.create("contentToReuse");
|
||||
|
||||
@Override
|
||||
protected void execute(@NotNull ExecutionEnvironment environment, @Nullable final Callback callback, @NotNull RunProfileState state)
|
||||
throws ExecutionException {
|
||||
@@ -49,7 +44,7 @@ public abstract class GenericProgramRunner<Settings extends RunnerSettings> exte
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated to remove in IDEA 16
|
||||
* @deprecated
|
||||
*/
|
||||
@SuppressWarnings({"unused", "DeprecatedIsStillUsed"})
|
||||
@Deprecated
|
||||
|
||||
Reference in New Issue
Block a user