PMD and auto generated code in Netbeans -


I am using Netbeen to create a GUI application and about things in the PMD Auto-Generated Code "Complains". Can I ignore the PMD auto-generated code (as I did with the checkstation)?

Thank you.

There are some things you can do:

Change the form type template to include magic strings.

  1. Use the template items from the Tools menu to open the 'Template Manager' dialog.

  2. Find a folder named 'swing GUI form' and expand that node.

  3. Select a template and open the editor's button.

  4. Change @SuppressWarnings ("uncheck") to @SuppressWarnings ({"uncheck", "PMD"})

    B Create a rule, which does not include the warning which is violated by the generated code and use that rule. There is another one page.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -