no message
This commit is contained in:
@@ -5,7 +5,6 @@ import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
import _VisualDVM.Repository.BugReport.BugReport;
|
||||
import _VisualDVM.Repository.BugReport.UI.BugReportInterface;
|
||||
|
||||
import java.io.File;
|
||||
import java.nio.file.Paths;
|
||||
@@ -23,7 +22,7 @@ public class OpenBugReportTestProject extends Pass<BugReport> {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Global.mainModule.Check(Log, Current.BugReport) &&
|
||||
(BugReportInterface.CheckNotDraft(target = Global.mainModule.getBugReport(), Log))) {
|
||||
(target = Global.mainModule.getBugReport()).CheckNotDraft(Log)) {
|
||||
if (!target.project_version.isEmpty()) {
|
||||
root = Paths.get(Global.visualiser.getWorkspace().getAbsolutePath(),
|
||||
target.id).toFile();
|
||||
@@ -47,9 +46,9 @@ public class OpenBugReportTestProject extends Pass<BugReport> {
|
||||
protected void body() throws Exception {
|
||||
//попытка скачки. проверка существования архива уже там.
|
||||
Global.mainModule.getPass(PassCode.DownloadBugReport).Do(target);
|
||||
if (BugReportInterface.getArchiveFile(target).exists()) {
|
||||
if (target.getArchiveFile().exists()) {
|
||||
Global.mainModule.getPass(PassCode.UnzipFolderPass).Do(
|
||||
BugReportInterface.getArchiveFile(target).getAbsolutePath(),
|
||||
target.getArchiveFile().getAbsolutePath(),
|
||||
root.getAbsolutePath()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user