diff --git a/src/main/java/se/su/dsv/scipro/data/controllers/impl/NotificationControllerImpl.java b/src/main/java/se/su/dsv/scipro/data/controllers/impl/NotificationControllerImpl.java index 9f8a3bc1ec..0bd68ab8ce 100644 --- a/src/main/java/se/su/dsv/scipro/data/controllers/impl/NotificationControllerImpl.java +++ b/src/main/java/se/su/dsv/scipro/data/controllers/impl/NotificationControllerImpl.java @@ -117,6 +117,9 @@ public class NotificationControllerImpl implements NotificationController { notificationDao.save(notification); } + /* + * String resources is available in file SciProApplication.properties. + */ private String generateMail(String userFirstName, String addMessage, String absoluteUrl) { return new StringResourceModel("mailNotification", null, new Object[] { @@ -307,10 +310,6 @@ public class NotificationControllerImpl implements NotificationController { String webNotificationMessageForSupervisorOfReviewer = new StringResourceModel( "reviewCompletedforReviewSupervisor.webNotification", new Model<PeerReview>(review)).getString(); - - /*messageBody = supervisorMessageBody + review.getProject().getTitle() - + commaWithLinebreak + review.getReviewer().getUser().toString() - + supervisorMessageBody3;*/ User reviewSupervisor = review.getProject().getHeadSupervisor().getUser(); NotificationMessage notificationMessageSupervisorOfReviewer = new NotificationMessage(