In Eclipse and Visual Studio, when a static analysis issue is highlighted, you have the option to dismiss it.

  1. 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.

  2. In the Issue Details panel, click Dismiss Issue.
    Figure 1. Dismiss button in the Issue Details panel

    Dismiss Issue button in Issue Details panel
  3. Code Sight displays a dialog where you must enter a comment to explain why you are dismissing this issue.
    Figure 2. Dismiss Issue dialog

    Dismiss Issue dialog, with field to enter an explanatory comment
  4. 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.