Detector: | Jadet |
Target: | project ' jfreechart ' version2266 |
Misuse: | misuse ' 6 ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | CategoryPlot.getDataset() may return null. The check for null was flipped. |
Fix Description: | Flip the condition. (see diff) |
Violation Types: |
|
In File: | org/jfree/chart/renderer/category/AbstractCategoryItemRenderer.java |
In Method: | getLegendItems() |
Code with Misuse: |
|
Code with Pattern(s): |
|