提交 55cffae0 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix bad indentation

上级 589e1ca4
...@@ -1453,9 +1453,9 @@ public abstract class TestBase { ...@@ -1453,9 +1453,9 @@ public abstract class TestBase {
* *
* @return the path to java * @return the path to java
*/ */
private String getJVM() { private static String getJVM() {
return System.getProperty("java.home") + File.separatorChar + "bin" + return System.getProperty("java.home") + File.separatorChar + "bin"
File.separator + "java"; + File.separator + "java";
} }
/** /**
...@@ -1702,7 +1702,7 @@ public abstract class TestBase { ...@@ -1702,7 +1702,7 @@ public abstract class TestBase {
} }
public ProcessBuilder buildChild(String name, Class<? extends TestBase> childClass, public ProcessBuilder buildChild(String name, Class<? extends TestBase> childClass,
String... jvmArgs) { String... jvmArgs) {
List<String> args = new ArrayList<>(16); List<String> args = new ArrayList<>(16);
args.add(getJVM()); args.add(getJVM());
Collections.addAll(args, jvmArgs); Collections.addAll(args, jvmArgs);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论