no message

This commit is contained in:
2023-12-09 01:36:08 +03:00
parent 8147381d4f
commit 7dc687e0c6
2 changed files with 5 additions and 11 deletions

View File

@@ -32,6 +32,7 @@ public class ExportTasksPackageToExcel extends Pass_2021<Vector<TasksPackage>> {
Vector<CellStyle> styles;
//--
Workbook book = null;
// DataFormat format = null;
Sheet sheet = null;
//--
LinkedHashMap<Long, Vector<TestRunTask>> packages_tasks = null;
@@ -53,6 +54,7 @@ public class ExportTasksPackageToExcel extends Pass_2021<Vector<TasksPackage>> {
book = null;
sheet = null;
styles = null;
// format = null;
packages_tasks = new LinkedHashMap<>();
target = null;
//--
@@ -78,17 +80,6 @@ public class ExportTasksPackageToExcel extends Pass_2021<Vector<TasksPackage>> {
}
if (!Log.isEmpty())
return false;
/*
for (TasksPackage tasksPackage: target){
System.out.println(tasksPackage.id);
Vector<TestRunTask> tasks = packages_tasks.get(tasksPackage.id);
System.out.println(tasks.size());
for (TestRunTask task: tasks)
System.out.println(task.id);
}
System.out.println("======");
*/
dir = directoryChooser.ShowDialog();
if (dir == null) {
Log.Writeln_("Папка не выбрана.");
@@ -225,6 +216,7 @@ public class ExportTasksPackageToExcel extends Pass_2021<Vector<TasksPackage>> {
//6 - серый
for (int i = 0; i < 6; ++i) {
CellStyle style = book.createCellStyle();
// style.setDataFormat(format.getFormat("@"));
Font font = book.createFont();
switch (i) {
case 0:
@@ -321,6 +313,7 @@ public class ExportTasksPackageToExcel extends Pass_2021<Vector<TasksPackage>> {
//--
book = new HSSFWorkbook();
sheet = book.createSheet("Результаты тестирования");
// format = book.createDataFormat();
//--
createStyles();
//--