|
From: Mikoláš J. <mik...@gm...> - 2009-07-26 12:24:23
|
Fint and Radu has changed the parse method to return a list of errors rather than a boolean (and only runtime exceptions are thrown). I must say I'd have preferred a class wrapping the list: a) To get the previous code to compile I added isEmpty() which looks unintuitive. isOK would look nicer. b) The standard toString of List is probably not desirable for presenting to the user the aforementioned class could have some printMe method, presenting the errors nicely. -- Mikoláš Janota M. Sc. School of Computer Science and Informatics, University College Dublin, Belfield, Dublin 4, Ireland |