When I ported that part, there is no WorkType.COLLECTION yet, so basically I let that Layer class do nothing. Once we have WorkType.COLLECTION, we just need to un-comment the line return type != WorkType.COLLECTION ; and return type == WorkType.COLLECTION;
On Mon, Sep 29, 2008 at 12:03 PM, Ayende Rahien <[EMAIL PROTECTED]> wrote: > What is the deal with BatchedQueueingProcessor.Layer ? > It looks like it is supposed to process collection on second go, but it > always process everything in the first go, and nothing in the second. > > > LuceneWork and derivatives looks like a classic textbook DON'T DO THIS > example for how not to use inheritance. I am leaning toward making the > behavior use polymorphism rather than explicit checks everywhere. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "NHibernate Contrib - Development Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com.ar/group/nhcdevs?hl=en -~----------~----~----~----~------~----~------~--~---
