no message
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user