Re: Field Variables Tags
Mohamed Abdelaziz <[email protected]>
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Darren Macneil wrote: >Just a curious question, > >why does PipeAdvertisement have fields for the tags like NameTag, >IdTag,etc but PeerAdvertisement or PeerGroupAdvertisement does not? > >Is there a particular reason for this or an oversight? > > They do (in the implementation though). The reasoning is mostly historical, in 1.0 advertisements did not define indexable fields and such elements were not required to be exposed. I think these fields should be made public so that they may be referenced directly. Submit an issue against the platform, and if you attach a patch, even better. Cheers, Mohamed -- http://blogs.sun.com/roller/page/hamada http://weblogs.java.net/blog/hamada