2006/unicorn/src/org/w3c/unicorn/action LanguageAction.java,1.16,1.17

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv23014/src/org/w3c/unicorn/action

Modified Files:
	LanguageAction.java 
Log Message:
removed dead code

Index: LanguageAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/LanguageAction.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- LanguageAction.java	13 Oct 2009 12:00:13 -0000	1.16
+++ LanguageAction.java	13 Oct 2009 12:08:36 -0000	1.17
@@ -231,13 +231,8 @@
 			req.setAttribute("submitted", true);
 			doGet(req, resp);
 			
-			String[] recipients = {Property.getProps("mail.properties").getProperty("unicorn.mail.language.to"), 
-					req.getParameter("translator_mail")};
-			String subject;
-			if (!"".equals(req.getParameter("translator_name")))
-				subject = "Unicorn - Translation in " + contextObjects.get("language") + " (submitted by " + req.getParameter("translator_name") + ")";
-			else
-				subject = "Unicorn - Translation in " + contextObjects.get("language") + " (anonymous submission)";
+			String[] recipients = {Property.getProps("mail.properties").getProperty("unicorn.mail.language.to"), req.getParameter("translator_mail")};
+			String subject = "Unicorn - Translation in " + contextObjects.get("language") + " (submitted by " + req.getParameter("translator_name") + ")";
 			
 			OutputFormater mainOutputFormater = new SimpleOutputFormater("language.mail", Property.get("DEFAULT_LANGUAGE"), "text/plain");
 			OutputFormater fileOutputFormater = new FileOutputFormater("language.properties", Property.get("DEFAULT_LANGUAGE"), "text/plain", languageParameter + ".properties");
@@ -252,9 +247,7 @@
 			} catch (UnicornException e) {
 				logger.error(e.getMessage(), e);
 			}
-			
 		}
-		
 	}
 
 	private Properties createProperties(String langParameter) {

Received on Tuesday, 13 October 2009 12:08:39 UTC