In Eclipse and Visual Studio, when a static analysis issue is highlighted, you have the option to dismiss it.
-
Go to the Code Analysis view, then click an entry in the issues list.
A description of the issue appears in the Issue Details panel.
-
In the Issue Details panel, click Dismiss Issue.
Figure 1. Dismiss button in the Issue Details panel
-
Code Sight displays a dialog where you must enter a comment to explain why you are dismissing this issue.
Figure 2. Dismiss Issue dialog
-
Enter your reason, and then click Confirm Dismissal.
Code Sight moves the issue to the Dismissed list. The Issue Details panel returns to its default, empty state.