syampillai / SOCharts

A wrapper around the "echarts" JavaScript library to use it as a Vaadin component.
Apache License 2.0
27 stars 11 forks source link

Reference to Data is ambiguous #36

Closed mgrecuccio closed 2 months ago

mgrecuccio commented 4 months ago

When instantiating the class com.storedobject.chart.Data like Data data = new Data(25d, 40d, 20d, 30d); I get the following error:

reference to Data is ambiguous [ERROR] both constructor Data(java.lang.Number...) in com.storedobject.chart.Data and constructor Data(double...) in com.storedobject.chart.Data match

cedricopfermann commented 4 months ago

Hi, I'm getting the same issue using new Data().

syampillai commented 4 months ago

Are you not using version 3.2.5? I am not getting this issue.

cedricopfermann commented 4 months ago

Yes, latest version, on Java 21 and eclipse.

Le dim. 5 mai 2024, 06:44, Syam Pillai @.***> a écrit :

Are you not using version 3.2.5? I am not getting this issue.

— Reply to this email directly, view it on GitHub https://github.com/syampillai/SOCharts/issues/36#issuecomment-2094598291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ3YI72XYIQQQEY6JTKJ45LZAW2MPAVCNFSM6AAAAABHAAZEYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGU4TQMRZGE . You are receiving this because you commented.Message ID: @.***>

syampillai commented 4 months ago

For some strange reason, my IDE (IntelliJ IDEA) was not showing any errors!! I have made the necessary changes and released a new version.

cedricopfermann commented 4 months ago

Everything is fine now. Thank for your quick fix !!

syampillai commented 2 months ago

Issue was resolved.