Browse Source

fix拼写错误

LiHaoyu 4 years ago
parent
commit
500d852669

+ 1 - 3
src/main/java/net/mooctest/www/android_auto_test/services/Impl/AutoTestServiceImpl.java

@@ -3,9 +3,7 @@ package net.mooctest.www.android_auto_test.services.Impl;
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
 import com.sinaapp.msdxblog.apkUtil.entity.ApkInfo;
-import com.sinaapp.msdxblog.apkUtil.utils.ApkUtil;
 import net.mooctest.www.android_auto_test.common.constant.Consts;
-import net.mooctest.www.android_auto_test.common.constant.enums.DeviceStatus;
 import net.mooctest.www.android_auto_test.common.constant.enums.TraceStatus;
 import net.mooctest.www.android_auto_test.common.exceptions.ApkDownloadException;
 import net.mooctest.www.android_auto_test.common.exceptions.ApkParseException;
@@ -82,7 +80,7 @@ public class AutoTestServiceImpl implements AutoTestService {
                 apkInfo = apkService.parseAPK(filePath, traceId);
                 apkService.saveApkInfo(apkInfo, filePath, traceId);
                 PrintUtil.print("Try to download custom script: " + traceId, TAG);
-                customScriptName = apkService.downloadCustomScript(traceInfo.getCustomScriptUlr());
+                customScriptName = apkService.downloadCustomScript(traceInfo.getCustomScriptUrl());
             } catch (ApkDownloadException e){
                 PrintUtil.print(String.format("Download failed, trace %s end.", traceId), TAG);
                 traceService.updateTraceStatue(traceId, TraceStatus.DOWNLOAD_FAILED);

+ 1 - 1
src/main/java/net/mooctest/www/android_auto_test/vo/TraceMetaInfo.java

@@ -16,5 +16,5 @@ public class TraceMetaInfo {
     private boolean needGenerateReport = false;
     private String reportType = "BugReport";
     private boolean needCrowdSourcedAnalysis = false;
-    private String customScriptUlr = null;
+    private String customScriptUrl = null;
 }