no message

This commit is contained in:
2025-02-04 16:33:06 +03:00
parent 353c0b2dbe
commit 87a761f5a6
11 changed files with 43 additions and 48 deletions

View File

@@ -1,12 +1,12 @@
package _VisualDVM.Passes.All;
import Common.Utils.Utils_;
import _VisualDVM.Global;
import _VisualDVM.Passes.Server.ClientPass;
import _VisualDVM.Passes.Server.ComponentsServerClientPass;
import _VisualDVM.Repository.BugReport.BugReport;
import _VisualDVM.Repository.BugReport.BugReportState;
import _VisualDVM.Repository.Server.ComponentsServer;
import _VisualDVM.Repository.Server.ServerCode;
public class SendBugReport extends ClientPass<ComponentsServer,BugReport> {
public class SendBugReport extends ComponentsServerClientPass<BugReport> {
@Override
protected boolean canStart(Object... args) throws Exception {
target = Global.componentsServer.db.bugReports.getUI().getCurrent();
@@ -18,8 +18,4 @@ public class SendBugReport extends ClientPass<ComponentsServer,BugReport> {
protected void performFail() throws Exception {
target.state = BugReportState.draft;
}
@Override
protected ComponentsServer getServer() {
return Global.componentsServer;
}
}