Insecure Warnings in NetBeans 7.1 Java EE

I am using Java EE 6 with Java 7 and Glassfish 3.1.1. When I select the "clear and build" option in the menu, it works, but it does not display warnings about unverified operations. How to enable it? And an additional question: is there a way to enable all warnings shown in the editor without clicking "clean and build"?

+4
source share
1 answer

Go to Tools> Options> Editor> Tips. Then select “Java” if it is not already. You will see a long list of warnings. Expand the standard Javac Warnings item and you will see "unverified" there. You can click it to activate it, or even better, click "Standard Javac Alerts" to activate all of them.

It took about a minute for Netbeans to actually apply the changes; I tried many times to rebuild my project and reset the parameters before it worked.

+5
source

Source: https://habr.com/ru/post/1393348/


All Articles