Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration.setSeries should use upper bounds #580

Open
mvysny opened this issue Jul 15, 2019 · 0 comments
Open

Configuration.setSeries should use upper bounds #580

mvysny opened this issue Jul 15, 2019 · 0 comments

Comments

@mvysny
Copy link
Member

mvysny commented Jul 15, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant