"Private filed x is never used" - annotation ignore-list

I keep getting these error messages in my JPA-model-classes, as they have some fields that aren't supposed to be used in the class. To my great surprise I found that i could ignore members that are annotated, and added javax.persistence.Id to the ignore-list in the inspection profile-dialog ("Unused symbol"). But it didn't work, and still shows the same warning. Is this a bug or have i misunderstood how this feature is supposed to work?

1 comment
Comment actions Permalink

Hello geofrank,

I keep getting these error messages in my JPA-model-classes, as they
have some fields that aren't supposed to be used in the class. To my
great surprise I found that i could ignore members that are annotated,
and added javax.persistence.Id to the ignore-list in the inspection
profile-dialog ("Unused symbol"). But it didn't work, and still shows
the same warning. Is this a bug or have i misunderstood how this
feature is supposed to work?


Thank you, this is fixed in the upcoming IDEA 7.0.4.

Alexander.


0

Please sign in to leave a comment.