From: Joseph O. <jo...@en...> - 2003-02-04 16:01:52
|
Noted. I'll have a new version out very soon. On Tue, 4 Feb 2003, Joseph Shelby wrote: > Joe Shelby wrote: > > 2) in addition to addItem() (which, using the List interface does an > > append), there should be an insertItem that adds it to the front, > > following normal RSS for blog standards. Right now that can be done by > > doing "getItems().add(0, new Item(...))", but to me that's risky. > > And a risk involved just happened to me. > > currently, the internal List is created lazily, and the result is that if > you call getList().add(...) before a single item is added through the Channel's > own methods, you get a NullPointerException. > > Joe > --------------------------------------------------------- Joseph B. Ottinger jo...@en... http://enigmastation.com IT Consultant |