Bug - SuppressWarning doesn't work for Persistence ORM Inspection
If you set Persistence ORM Inspection to "Error" level, and you put a suppresswarning annotation at class or method level, the "red underline" will disappear, but the code will refuse to compile anyway.
By the way: is this forum the best way to report bug to the development version of idea? In jira I can't submit bugs on the IDEADEV project.
Thank you.
请先登录再写评论。
you can file bugs for project "IDEA: Feedback (IDEA)", if they're accepted they will be moved to IDEADEV
Salvatore Insalaco wrote:
This is normal, if you say you don't want to see warnings (or errors)
then they won't be shown ...
Idea bugs (with any version) are submitted to the IDEA project and then
the Jetbrains team move them to IDEADEV or IDEABKL when they have
processed them.
R
That's true and logical for Java Errors, but for an inspection set as "error" there's no way to tell the system to ignore them for a particular method/class?
I find it a bit illogical to let the user hide an inspection error but stopping him in the compile phase.
Salvatore Insalaco wrote:
Jira issue is created.
http://www.jetbrains.net/jira/browse/IDEADEV-10357
Salvatore Insalaco wrote:
At the moment IDEA does not have configuration for this kind of issues.
You can set error level for ORM inspection to warning so that your
compilation will complete OK.
I've created the Jira issue and we will consider it.
http://www.jetbrains.net/jira/browse/IDEADEV-10357
This feature wouldn't be so important if the pu validation worked for all cases, here are a couple of examples where it doesn't:
http://www.jetbrains.net/jira/browse/IDEA-9405
http://www.jetbrains.net/jira/browse/IDEA-9404