Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] List.add(Object o) return value

Dhruba Bandopadhyay

2007-06-25

Replies:

Hi,

In com.lowagie.text.List in method:

public boolean add(Object o);

on line 270 of revision 2852 shouldn't:

list.add(item);

be:

return list.add(item);

Or is it okay like that? If no change is required please explain.

Due to this adding a list item to a list sometimes returns false.

With regards.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.