no message

This commit is contained in:
2024-10-07 14:22:52 +03:00
parent 6b1576461d
commit 61fc37b574
173 changed files with 960 additions and 1526 deletions

View File

@@ -1,9 +1,9 @@
package Visual_DVM_2021.Passes.All;
import Common.Utils.CommonUtils;
import Common_old.Current;
import Common.Database.Database;
import _VisualDVM.Global;
import Common_old.UI.UI;
import Common_old.Utils.Utils;
import GlobalData.Account.AccountRole;
import Repository.BugReport.BugReport;
import Repository.BugReport.BugReportInterface;
@@ -85,7 +85,7 @@ public class AddBugReport extends AddObjectPass<BugReport> {
}
@Override
protected boolean validate() {
double size = Utils.getFileSizeMegaBytes(BugReportInterface.getArchiveFile(target));
double size = CommonUtils.getFileSizeMegaBytes(BugReportInterface.getArchiveFile(target));
if (size > 100) {
Log.Writeln_("Размер запакованного вложения " + size + " Мб превышает 100 Мб");
return false;