How to disable the below warning (Field injection is not recommended
)in Intellij idea settings?
Note:
Do not start advising prefer Constructor injection over field injection etc. This is Spring.
CodePudding user response:
- Open up IntelliJ preferences
- Go to editor
- Go to inspections
- Find
non recommended 'field' injections
- Disable it