mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (formatting)
This commit is contained in:
+7
-6
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2015 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.
|
||||
@@ -20,12 +20,13 @@ import com.intellij.execution.process.OSProcessHandler;
|
||||
import com.intellij.execution.runners.ExecutionEnvironment;
|
||||
import com.intellij.ide.DataManager;
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public abstract class JavaCommandLineState extends CommandLineState implements JavaCommandLine{
|
||||
public abstract class JavaCommandLineState extends CommandLineState implements JavaCommandLine {
|
||||
private JavaParameters myParams;
|
||||
|
||||
protected JavaCommandLineState(@NotNull final ExecutionEnvironment environment) {
|
||||
|
||||
protected JavaCommandLineState(@NotNull ExecutionEnvironment environment) {
|
||||
super(environment);
|
||||
}
|
||||
|
||||
@@ -50,8 +51,8 @@ public abstract class JavaCommandLineState extends CommandLineState implements J
|
||||
protected abstract JavaParameters createJavaParameters() throws ExecutionException;
|
||||
|
||||
protected GeneralCommandLine createCommandLine() throws ExecutionException {
|
||||
return CommandLineBuilder.createFromJavaParameters(getJavaParameters(), CommonDataKeys.PROJECT
|
||||
.getData(DataManager.getInstance().getDataContext()), true);
|
||||
@SuppressWarnings("deprecation") Project project = CommonDataKeys.PROJECT.getData(DataManager.getInstance().getDataContext());
|
||||
return CommandLineBuilder.createFromJavaParameters(getJavaParameters(), project, true);
|
||||
}
|
||||
|
||||
public boolean shouldAddJavaProgramRunnerActions() {
|
||||
|
||||
Reference in New Issue
Block a user