jfree/jfreechart

wrong null check in DefaultPieDataset(KeyedValues<K> source)

Closed this issue · 1 comments

41zu commented

In line 79:

Args.nullNotPermitted(data, "data");

should be

Args.nullNotPermitted(source, "data");

Why: The passed parameter should be ckecked, not the storage object in the class itself

jfree commented

Thanks for reporting that. It is fixed.