wicketstuff / core

Wicketstuff-core projects are bundled user contributions for use with Apache Wicket (https://wicket.apache.org/). They are released in step with Wicket releases to make them easy to use.
342 stars 298 forks source link

Fix InMethodGrid compile error in master branch #38

Closed mocleiri closed 13 years ago

mocleiri commented 13 years ago

My jenkins server fails to build the inmethod-grid plugin due to the following error:

ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /var/lib/jenkins/jobs/Wicketstuff Core Java 5 Modules (wicket 1.5-SNAPSHOT)/workspace/jdk-1.5-parent/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/DataProviderAdapter.java:[102,146] incompatible types
found   : com.inmethod.grid.datagrid.DataGrid<capture of ? extends com.inmethod.grid.IDataSource<T>,T>
required: com.inmethod.grid.datagrid.DataGrid<? extends com.inmethod.grid.IDataSource<T>,T>
[INFO] 1 error
martin-g commented 13 years ago

It builds OK with jdk1.6 but it failed with jdk1.5. I just removed the generics. Now there is a warning but at least it compiles.

mocleiri commented 13 years ago

Thanks, now everything in master compiles and is ready for the 1.5-RC5.1 upstream wicket release and our matching wicketstuff-core release.

akiraly commented 13 years ago

Hm interesting.