Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/java/com/finalist/savedform In directory james.mmbase.org:/tmp/cvs-serv25863/portlets-dynamicforms/src/java/com/finalist/savedform
Modified Files: DownloadSavedFormAction.java Log Message: CMSC-907 - Better code: remove unused imports/vars, removed redundant else clause, better encapsulation See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/java/com/finalist/savedform See also: http://www.mmbase.org/jira/browse/CMSC-907 Index: DownloadSavedFormAction.java =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-dynamicforms/src/java/com/finalist/savedform/DownloadSavedFormAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -b -r1.3 -r1.4 --- DownloadSavedFormAction.java 10 May 2008 16:32:16 -0000 1.3 +++ DownloadSavedFormAction.java 29 Jul 2008 17:23:34 -0000 1.4 @@ -85,11 +85,10 @@ savedFormNodeList.size(), values); return null; } - else { + String message = getResources(request, "SAVEDFORM").getMessage(locale, "incorrect.nodenumber", nodeNumber); request.setAttribute("error", message); String returnurl = request.getParameter("returnurl"); return new ActionForward(returnurl); } - } } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs