Fixed the comment sending code in EmailUtilsImpl
This commit is contained in:
parent
13fcb34fb6
commit
2fbf8478d7
|
@ -270,7 +270,7 @@ public class EmailUtilsImpl implements EmailUtils {
|
||||||
"to " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
|
"to " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
|
||||||
|
|
||||||
if (comment != null)
|
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 " +
|
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." +
|
"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";
|
"to " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
|
||||||
|
|
||||||
if (comment != null) {
|
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 " +
|
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";
|
"for " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
|
||||||
|
|
||||||
if (comment != null)
|
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" +
|
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() + ")" +
|
"User Contact: " + authentication.getName() + " (" + ((OIDCAuthenticationToken) authentication).getUserInfo().getEmail() + ")" +
|
||||||
|
@ -744,7 +744,7 @@ public class EmailUtilsImpl implements EmailUtils {
|
||||||
"for " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
|
"for " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
|
||||||
|
|
||||||
if (comment != null) {
|
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" +
|
message += "A new iteration process of the validation against the OpenAIRE guidelines compatibility has been started.\n\n" +
|
||||||
|
|
Loading…
Reference in New Issue