persistence@glassfish.java.net

Re: empty NamedQueries annotation?

From: Rochelle Raccah <Rochelle.Raccah_at_Sun.COM>
Date: Thu, 07 Sep 2006 18:04:16 -0700

Thanks. I guess we'll let Sahoo tell us if useless annotations is the
kind of thing the verifier should warn about.

Rochelle

Marina Vatkina wrote:
> 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