vaadin / charts

Framework 8 version of Vaadin Charts
Other
54 stars 84 forks source link

Configuration.setSeries should use upper bounds #580

Open mvysny opened 5 years ago

mvysny commented 5 years ago

The following code doesn't compile:

List<AbstractSeries> series = new ArrayList<>();
Configuration configuration = ...;
configuration.setSeries(series);

The Configuration.setSeries() signature should be Configuration.setSeries(List<? extends Series> series)

Vaadin Charts 4.2.0; Vaadin 8.8.5