From d9cc046464aab61160dfe11fd83a819788cd0049 Mon Sep 17 00:00:00 2001
From: Emil Siverhall <emil-siv@dsv.su.se>
Date: Fri, 5 Aug 2011 10:39:36 +0200
Subject: [PATCH] more code cleanup in ControllerImpl.

---
 .../data/controllers/impl/NotificationControllerImpl.java  | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

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(