Project

General

Profile

« Previous | Next » 

Revision 59497

Fixed the comment sending code in EmailUtilsImpl

View differences:

modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/service/EmailUtilsImpl.java
270 270
                    "to " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
271 271

  
272 272
            if (comment != null)
273
                comment += "\nThe users comment was '" + comment + "'\n";
273
                message += "\nThe users comment was '" + comment + "'\n";
274 274

  
275 275
            message += "A validation process for this interface against the OpenAIRE guidelines compatibility " +
276 276
                    "has been started. You will be informed in another message once the process is finished." +
......
305 305
                    "to " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
306 306

  
307 307
            if (comment != null) {
308
                comment += "\n Your comment was '" + comment + "'\n";
308
                message += "\n Your comment was '" + comment + "'\n";
309 309
            }
310 310

  
311 311
            message += "A validation process for this interface against the OpenAIRE guidelines compatibility " +
......
710 710
                    "for " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
711 711

  
712 712
            if (comment != null)
713
                comment += "\nThe users comment was '" + comment + "'\n";
713
                message += "\nThe users comment was '" + comment + "'\n";
714 714

  
715 715
            message += "A new iteration process of the validation against the OpenAIRE guidelines compatibility has been started.\n\n" +
716 716
                    "User Contact: " + authentication.getName() + " (" + ((OIDCAuthenticationToken) authentication).getUserInfo().getEmail() + ")" +
......
744 744
                    "for " + repository.getDatasourceType() + "[" + repository.getEnglishName() + "].\n";
745 745

  
746 746
            if (comment != null) {
747
                comment += "\n Your comment was '" + comment + "'\n";
747
                message += "\n Your comment was '" + comment + "'\n";
748 748
            }
749 749

  
750 750
            message += "A new iteration process of the validation against the OpenAIRE guidelines compatibility has been started.\n\n" +

Also available in: Unified diff