Yes, avoiding null where possible is very good. -- John
> On 12 Jan 2015, at 08:25, Maruan Sahyoun <sahy...@fileaffairs.de> wrote: > > Hi, > > as I'm currently enhancing the AcroForms functionality one question came to > mind which is how empty field values shall be returned. Currently - as with > most parts of PDFBox - if a value, dictionary item … is not existing null > will be returned. I'm considering to change that to return an empty > String/List … for AcroForms only as this is more inline with a typical form > filling application. In addition an empty string is easier to handle than > having null checks all over. > > WDYT? > > BR > Maruan