Fixed the comment sending code in EmailUtilsImpl

This commit is contained in:
Antonis Lempesis 2020-10-01 10:58:31 +00:00
parent 13fcb34fb6
commit 2fbf8478d7
1 changed files with 4 additions and 4 deletions

View File

@ -270,7 +270,7 @@ public class EmailUtilsImpl implements EmailUtils {
"to " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
if (comment != null)
comment += "\nThe users comment was '" + comment + "'\n";
message += "\nThe users comment was '" + comment + "'\n";
message += "A validation process for this interface against the OpenAIRE guidelines compatibility " +
"has been started. You will be informed in another message once the process is finished." +
@ -305,7 +305,7 @@ public class EmailUtilsImpl implements EmailUtils {
"to " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
if (comment != null) {
comment += "\n Your comment was '" + comment + "'\n";
message += "\n Your comment was '" + comment + "'\n";
}
message += "A validation process for this interface against the OpenAIRE guidelines compatibility " +
@ -710,7 +710,7 @@ public class EmailUtilsImpl implements EmailUtils {
"for " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
if (comment != null)
comment += "\nThe users comment was '" + comment + "'\n";
message += "\nThe users comment was '" + comment + "'\n";
message += "A new iteration process of the validation against the OpenAIRE guidelines compatibility has been started.\n\n" +
"User Contact: " + authentication.getName() + " (" + ((OIDCAuthenticationToken) authentication).getUserInfo().getEmail() + ")" +
@ -744,7 +744,7 @@ public class EmailUtilsImpl implements EmailUtils {
"for " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
if (comment != null) {
comment += "\n Your comment was '" + comment + "'\n";
message += "\n Your comment was '" + comment + "'\n";
}
message += "A new iteration process of the validation against the OpenAIRE guidelines compatibility has been started.\n\n" +