TableControl in master source compiling error - line 1168

Issue #37 wontfix
Former user created an issue

Hello there,

First, I really need to say that you did a really great work and want to thank you.

I wanted to adjust the excel export so I pulled the master branch but did get a compile error in TableControl line 1168:

Map<T, RecordChange<T,?>> map = (Map<T, RecordChange<T,?>>) baseColumn.getRecordChangeMap();

Error: "Cannot cast from Map<T,RecordChange<T,capture#59-of ?>> to Map<T,RecordChange<T,?>>"

Can you help me out with this?

Actually I only want to remove the styling you add to the excel and remove the header (title) so that the talbe columns are the table header of the excel file (I did that by removing

prepareStyle();

and

rowIdx++; 
rowIdx++;

)

I also removed the compiling error by applying the eclipse suggestions:

Map<T, ?> map = baseColumn.getRecordChangeMap();
                lstRecordChange.addAll((Collection<? extends RecordChange<T, ?>>) map.values());

But I have no idea if this is correct, would be great if you could take a look at that.

Comments (2)

  1. Amrullah

    I guess that is eclipse configuration problem. Ensure your eclipse compile to 1.8 java binary format. You have a good point in regards with the excel export. I need to create that configurable.

    Thanks for the nice words.

  2. Log in to comment