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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -