[hibernate-dev] H.Search: EventListenerRegister

Hardy Ferentschik hibernate at ferentschik.de
Mon Aug 25 04:41:17 EDT 2008


On Sat, 23 Aug 2008 19:25:35 +0200, Sanne Grinovero  
<sanne.grinovero at gmail.com> wrote:

> Hello Hardy,
> thanks for your attention, I'll attach my current version (absolutely
> untested) just to give the idea.
> If you look at the current trunk the last listener handling
> (PostCollectionUpdateEventListener)
> is not consistent with the others; I thought it was "suspect",
> but forgot to mention it in my previous post.

Your code seems to be a step into the right direction and a good exaple  
for the use of generics. Personally, I would use explicit if statements  
insead of the ?: operator, but that's a matter of taste.

--Hardy



More information about the hibernate-dev mailing list