Formatting

This commit is contained in:
Phillip Webb
2018-05-04 16:36:21 -07:00
parent 42c053cf1b
commit 7b120c1c97
31 changed files with 212 additions and 206 deletions

View File

@@ -578,6 +578,7 @@ public abstract class AbstractRunMojo extends AbstractDependencyFilterMojo {
}
return String.format("-D%s=\"%s\"", key, value);
}
}
}

View File

@@ -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());

View File

@@ -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());

View File

@@ -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