"Declaration access can be weaker" not applied in Inspect Code in 2019.2.4
已回答
I noticed recently when running Analyze -> Inspect Code, the "Declaration access can be weaker" is not applied even though I see the code highlighted in editor (real time inspection). This was not an issue before - is this a bug in the recent version?
请先登录再写评论。
Hello,
Please share the code sample where the issue is reproduced for you. Thank you
public class TestClass {
public void test() {
}
}
Thank you for the sample provided. Please follow the issue created at YouTrack:
https://youtrack.jetbrains.com/issue/IDEA-226551
Thank you, btw this could be also true for other inspections however I only noticed this one so far.