Formatting
This commit is contained in:
@@ -578,6 +578,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
|
||||
}
|
||||
return String.format("-D%s=\"%s\"", key, value);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -67,8 +67,7 @@ public class RunMojo extends AbstractRunMojo {
|
||||
|
||||
@Override
|
||||
protected void runWithForkedJvm(File workingDirectory, List<String> args,
|
||||
Map<String, String> environmentVariables)
|
||||
throws MojoExecutionException {
|
||||
Map<String, String> environmentVariables) throws MojoExecutionException {
|
||||
try {
|
||||
RunProcess runProcess = new RunProcess(workingDirectory,
|
||||
new JavaExecutable().toString());
|
||||
|
||||
@@ -103,8 +103,7 @@ public class StartMojo extends AbstractRunMojo {
|
||||
}
|
||||
|
||||
private RunProcess runProcess(File workingDirectory, List<String> args,
|
||||
Map<String, String> environmentVariables)
|
||||
throws MojoExecutionException {
|
||||
Map<String, String> environmentVariables) throws MojoExecutionException {
|
||||
try {
|
||||
RunProcess runProcess = new RunProcess(workingDirectory,
|
||||
new JavaExecutable().toString());
|
||||
|
||||
@@ -39,8 +39,8 @@ public class EnvVariablesTests {
|
||||
|
||||
@Test
|
||||
public void asArray() {
|
||||
assertThat(new EnvVariables(getTestArgs()).asArray())
|
||||
.contains("key=My Value", "key1= tt ", "key2= ", "key3=");
|
||||
assertThat(new EnvVariables(getTestArgs()).asArray()).contains("key=My Value",
|
||||
"key1= tt ", "key2= ", "key3=");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user