= Review (NS-155): FR 1881: BatchGUI = || Author || Jonas || || Moderator || Jonas || || State || Closed || == Objectives == {{{ Review the code and perform sanity test. Moreover, there might be a security policy violation in the post-processing. Please verify! }}} '''Total Time Used (Coding,Documentation,Review)''': {{{ Time use (Coding,Documentation,Review) CSR: 0.6 JOLF: 12 }}} '''General comments''': || '''Description''' || '''Classification''' || '''Status''' || === Comments on file 'trunk/src/dk/netarkivet/common/webinterface/BatchGUI.java', revision 1410 === || '''Lines''' || '''Description''' || '''Classification''' || '''Status''' || || General || I don't really like the way code and markup are blended together in this class. I think it makes the code hard to maintain. I'd much rather see the utility methods return datastructures containing information about the batchjobs. The jsp page could then have responsibility for displaying the content of these datastructures. Probably this is too large a refactoring to be considered for now. || Minor || REJECT || || 3, 215 || What is this? || Cosmetic || OK || || 201 || Where are the argN parameters for contructors read/used ? || Minor || REJECT || || 221 || This would throw an IllegalArgumentException if there is no parameter-free ctor. || Minor || OK || || 231 || Try something like ${jobno}'-.*(?