Maybe bug in the documentation

Version 1

    Hi to all.

     

    I was taking a look to the hibernate docs. I was worried about the example in the link:  Chapter 6. Entity listeners and Callback methods

     

    @Entity
    @EntityListeners(class=Audit.class)
    public class Cat {
    }
    
    public class LastUpdateListener {
    }
    

     

    Should the Audit.class in this example not be substituted against the LastUpdateListener.class?

     

    I found this in the Documentation version of 3.4, 3.5 and 3.6.

     

     

    regads Michael