Request or Bug? Configuration for "Class does not declare a logger"
I have a class like this:
I have the inspection "Class without Logger" turned on. IDEA now marks the anonymous inner class with a warning. It would be nice to have the possibility to ignore anonymous inner classes from this inspection.
There is an checkbox for ignoring classes that have an accessible Logger in a superclass but this checkbox cannot be selected. It gets always unselected when I leave the dialog.
请先登录再写评论。
On a related subject, the inspection "Comparator class not declared serializable" needs a similar option.
http://www.jetbrains.net/jira/browse/IDEADEV-8611
Fixed for the next EAP.
Bas
Could you clarify this? (preferably in a JIRA request).
Bas
Well, you can't make an anonymous inner comparator implement serializable; it would be nice if there was an option to prevent the inspection from triggering on those classes.
Ok, this is fixed in the next EAP