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,4 +1,5 @@
package Visual_DVM_2021.Passes.All;
import Common.Utils.CommonUtils;
import Common_old.Current;
import _VisualDVM.Global;
import Common_old.UI.UI;
@@ -70,9 +71,9 @@ public class PublishComponent extends ComponentsRepositoryPass<Component> {
protected void ServerAction() throws Exception {
String change_description = (f.Result == null) ? "не указаны" : f.Result;
String change_record_header = String.join(" ",
Utils.Brackets(Utils.print_date(new Date())) + ":",
Current.getAccount().name + Utils.RBrackets(Current.getAccount().email),
"публикует версию", Utils.DQuotes(target.version)
CommonUtils.Brackets(Utils.print_date(new Date())) + ":",
Current.getAccount().name + CommonUtils.RBrackets(Current.getAccount().email),
"публикует версию", CommonUtils.DQuotes(target.version)
);
String change_record = String.join("\n", change_record_header, "Изменения:",
change_description,
@@ -102,9 +103,9 @@ public class PublishComponent extends ComponentsRepositoryPass<Component> {
if ((f.Result != null)) {
version_mail_header = String.join(" ",
"Опубликована версия",
Utils.DQuotes(target.version),
CommonUtils.DQuotes(target.version),
"компонента",
Utils.DQuotes(target.getComponentType().getDescription()));
CommonUtils.DQuotes(target.getComponentType().getDescription()));
EmailMessage message =
new EmailMessage(version_mail_header,
f.Result,