Disabling auto-boxing for Java in IntelliJ IDEA -


is there way how disable auto-boxing java 5 , 6 in intellij idea, not allow developer use feature in ide?

i don't think can disable auto-boxing outright while maintaining target compile version - that's feature of specific java version.

what can in intellij change inspection level of auto-boxing "error". that:

  • go settings > inspections, , type "boxing" search bar.
  • click on "auto-boxing".
  • set severity "error". cause inspections test report occurrence of auto-boxing error. should same auto-unboxing well.

further down line, can add code inspections run when testing code (pmd, findbugs, cobertura, et. al.) fail build if being auto-boxed or auto-unboxed.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -