Eclipse Juno - why no warning on unused annotated private field?

后端 未结 2 895
南旧
南旧 2021-01-17 16:39

In the previous version of Eclipse this works fine.

In Errors/Warnings I checked \"Unused private field\" -> Warning. But it does not seem to work.

相关标签:
2条回答
  • 2021-01-17 17:21

    Eclipse Bug Report 386692 should soon be reopened, to also ignore the @Autowired annotation from the Spring framework.

    0 讨论(0)
  • 2021-01-17 17:36

    This is intentional see - https://bugs.eclipse.org/bugs/show_bug.cgi?id=365437. Also see an open bug on this topic - https://bugs.eclipse.org/bugs/show_bug.cgi?id=376590

    0 讨论(0)
提交回复
热议问题