Fix warnings in K2JSRunConfiguration
This commit is contained in:
-3
@@ -409,9 +409,6 @@
|
|||||||
<inspection_tool class="UtilityClassWithPublicConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
|
<inspection_tool class="UtilityClassWithPublicConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
<inspection_tool class="UtilityClassWithoutPrivateConstructor" enabled="true" level="WARNING" enabled_by_default="true">
|
<inspection_tool class="UtilityClassWithoutPrivateConstructor" enabled="true" level="WARNING" enabled_by_default="true">
|
||||||
<option name="ignoreClassesWithOnlyMain" value="false" />
|
<option name="ignoreClassesWithOnlyMain" value="false" />
|
||||||
<option name="ignorableAnnotations">
|
|
||||||
<value />
|
|
||||||
</option>
|
|
||||||
</inspection_tool>
|
</inspection_tool>
|
||||||
<inspection_tool class="VolatileLongOrDoubleField" enabled="true" level="WARNING" enabled_by_default="true" />
|
<inspection_tool class="VolatileLongOrDoubleField" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
<inspection_tool class="WaitNotInLoop" enabled="true" level="WARNING" enabled_by_default="true" />
|
<inspection_tool class="WaitNotInLoop" enabled="true" level="WARNING" enabled_by_default="true" />
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
/**
|
/**
|
||||||
* @author Pavel Talanov
|
* @author Pavel Talanov
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public final class K2JSRunConfiguration extends RunConfigurationBase
|
public final class K2JSRunConfiguration extends RunConfigurationBase
|
||||||
implements RunConfigurationWithSuppressedDefaultRunAction {
|
implements RunConfigurationWithSuppressedDefaultRunAction {
|
||||||
|
|
||||||
@@ -78,14 +79,17 @@ public final class K2JSRunConfiguration extends RunConfigurationBase
|
|||||||
@Override
|
@Override
|
||||||
public ExecutionResult execute(Executor executor, @NotNull ProgramRunner runner) throws ExecutionException {
|
public ExecutionResult execute(Executor executor, @NotNull ProgramRunner runner) throws ExecutionException {
|
||||||
return new ExecutionResult() {
|
return new ExecutionResult() {
|
||||||
|
@Override
|
||||||
public ExecutionConsole getExecutionConsole() {
|
public ExecutionConsole getExecutionConsole() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public AnAction[] getActions() {
|
public AnAction[] getActions() {
|
||||||
return AnAction.EMPTY_ARRAY;
|
return AnAction.EMPTY_ARRAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public ProcessHandler getProcessHandler() {
|
public ProcessHandler getProcessHandler() {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user