diff --git a/src/main/java/eu/dnetlib/repo/manager/service/EmailUtilsImpl.java b/src/main/java/eu/dnetlib/repo/manager/service/EmailUtilsImpl.java index b213810..975e62e 100644 --- a/src/main/java/eu/dnetlib/repo/manager/service/EmailUtilsImpl.java +++ b/src/main/java/eu/dnetlib/repo/manager/service/EmailUtilsImpl.java @@ -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" +