Unverified 提交 b2fef914 authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw 提交者: GitHub

Merge pull request #815 from dataease/pr@dev@fix_delete_test_main_method

fix: 删除无用测试main方法
...@@ -95,7 +95,7 @@ public class DateUtils { ...@@ -95,7 +95,7 @@ public class DateUtils {
} }
public static void main(String[] args) throws Exception { /* public static void main(String[] args) throws Exception {
// System.out.println("start:"); // System.out.println("start:");
Date paramTime = getTime(getTimeString(new Long("1607672440731"))); Date paramTime = getTime(getTimeString(new Long("1607672440731")));
...@@ -110,7 +110,7 @@ public class DateUtils { ...@@ -110,7 +110,7 @@ public class DateUtils {
// System.out.println(getTimeString(--countTimeLong)); // System.out.println(getTimeString(--countTimeLong));
} } */
/** /**
......
...@@ -68,8 +68,8 @@ public class ExcelReaderUtil { ...@@ -68,8 +68,8 @@ public class ExcelReaderUtil {
} }
} }
public static void main(String[] args) throws Exception { /* public static void main(String[] args) throws Exception {
String file ="Metersphere_case_DataEase功能用例.xlsx"; String file ="Metersphere_case_DataEase功能用例.xlsx";
ExcelReaderUtil.readExcel(file, new FileInputStream("/Users/taojinlong/Desktop/" + file)); ExcelReaderUtil.readExcel(file, new FileInputStream("/Users/taojinlong/Desktop/" + file));
} } */
} }
...@@ -229,9 +229,9 @@ public class SystemParameterService { ...@@ -229,9 +229,9 @@ public class SystemParameterService {
} }
public static void main(String[] args) { /* public static void main(String[] args) {
String info="[{\"paramKey\":\"base.url\",\"paramValue\":null,\"type\":\"text\",\"sort\":1,\"file\":null,\"fileName\":null},{\"paramKey\":\"base.title\",\"paramValue\":\"DataEase Title\",\"type\":\"text\",\"sort\":3,\"file\":null,\"fileName\":null},{\"paramKey\":\"base.logo\",\"paramValue\":\"DataEase\",\"type\":\"text\",\"sort\":4,\"file\":null,\"fileName\":\"favicon.icon.png\"}]"; String info="[{\"paramKey\":\"base.url\",\"paramValue\":null,\"type\":\"text\",\"sort\":1,\"file\":null,\"fileName\":null},{\"paramKey\":\"base.title\",\"paramValue\":\"DataEase Title\",\"type\":\"text\",\"sort\":3,\"file\":null,\"fileName\":null},{\"paramKey\":\"base.logo\",\"paramValue\":\"DataEase\",\"type\":\"text\",\"sort\":4,\"file\":null,\"fileName\":\"favicon.icon.png\"}]";
List<SystemParameterDTO> temp = JSON.parseArray(info,SystemParameterDTO.class); List<SystemParameterDTO> temp = JSON.parseArray(info,SystemParameterDTO.class);
// System.out.println("===>"); // System.out.println("===>");
} } */
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论