refactor: 删除无用代码

This commit is contained in:
chenjianxing 2020-10-21 19:47:37 +08:00
parent 063b821de7
commit 8c22317947
3 changed files with 1 additions and 5 deletions

View File

@ -33,8 +33,6 @@ public class AppStartListener implements ApplicationListener<ApplicationReadyEve
System.out.println("================= 应用启动 ================="); System.out.println("================= 应用启动 =================");
System.setProperty("jmeter.home", jmeterHome);
loadJars(); loadJars();
initPythonEnv(); initPythonEnv();

@ -1 +1 @@
Subproject commit ee74568be0beba46da19616f5832e83f9164c688 Subproject commit cf6b06526324326a563d933e07118fac014a63b4

View File

@ -89,8 +89,6 @@ public final class NewDriver {
//只从 jmeter.home 加载 //只从 jmeter.home 加载
tmpDir = System.getProperty("jmeter.home","");// Allow override $NON-NLS-1$ $NON-NLS-2$ tmpDir = System.getProperty("jmeter.home","");// Allow override $NON-NLS-1$ $NON-NLS-2$
System.out.println(System.getProperty("jmeter.home",""));
System.out.println(tmpDir + "222");
if (tmpDir.length() == 0) { if (tmpDir.length() == 0) {
File userDir = new File(System.getProperty("user.dir"));// $NON-NLS-1$ File userDir = new File(System.getProperty("user.dir"));// $NON-NLS-1$
tmpDir = userDir.getAbsoluteFile().getParent(); tmpDir = userDir.getAbsoluteFile().getParent();