It's legal, so definitely not an error, but useless.
-marina
Rochelle Raccah wrote:
> I just filed NetBeans bug
> <http://www.netbeans.org/issues/show_bug.cgi?id=84488>
>
> Is an empty NamedQueries annotation allowed?
>
> Should it be caught by the verifier as a warning or error?
>
> Thanks,
> Rochelle