On Fri, Mar 4, 2011 at 11:40 AM, Rickard Öberg <[email protected]> wrote: > 2011/3/4 Niclas Hedhman <[email protected]>: >> So, it is not so much a matter of it can't be done, but that it is messy. >> >> >> One alternative I can think of is that the >> StateHolder.visitProperties() provides the PropertyDescriptors. > > That seems like a nice options, minus backwards compatibility. I would > prefer this, I think.
Ok. I have no problem with backward compatibility in this. I doubt that many people is using withState() at the moment, since it is non-trivial for the cases where it is needed the most (i.e. I don't have the list of properties). In my case, I have already taken care of this, so this is mostly for making it easier for others. Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/3xugrbk I work here; http://tinyurl.com/24svnvk I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

