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="UtilityClassWithoutPrivateConstructor" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="ignoreClassesWithOnlyMain" value="false" />
|
||||
<option name="ignorableAnnotations">
|
||||
<value />
|
||||
</option>
|
||||
</inspection_tool>
|
||||
<inspection_tool class="VolatileLongOrDoubleField" 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
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public final class K2JSRunConfiguration extends RunConfigurationBase
|
||||
implements RunConfigurationWithSuppressedDefaultRunAction {
|
||||
|
||||
@@ -78,14 +79,17 @@ public final class K2JSRunConfiguration extends RunConfigurationBase
|
||||
@Override
|
||||
public ExecutionResult execute(Executor executor, @NotNull ProgramRunner runner) throws ExecutionException {
|
||||
return new ExecutionResult() {
|
||||
@Override
|
||||
public ExecutionConsole getExecutionConsole() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AnAction[] getActions() {
|
||||
return AnAction.EMPTY_ARRAY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ProcessHandler getProcessHandler() {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user