
Hi Steve, I'm really baffled about this. To eliminate any conflicts with the rest of the project, I just visited a work colleague, got him to start up a new Eclipse Java 1.6 project and type in just the Class and the get() method declarations. That produces the same error. If there are any fellow Eclipse users watching, I'd be interested to know if anything is reported with respect to this Class (warnings even)?. The version of Eclipse I use was downloaded about 4 weeks ago from the Apache site, so it's not stale. The JVM is version 1.6.0_06. Cheers, Walter On , Steve Ratcliffe <steve@parabola.me.uk> wrote:
On 24/03/11 14:11, Walter Wright wrote:
Hi Walter
Do you see the compilation error in MultiHashMap.java? If not, it may
just come down to my using Eclipse.
MultiHashMap.java: Line 24:
Name clash: The method get(K) of type MultiHashMap has the same erasure
as get(Object) of type HashMap but does not override it
No I don't see that.
Does it really not allow you to compile it? I am suprised since many
people use eclipse and it has not been mentioned before. I think that
eclipse is wrong in this case, but as with all generics problems I
reserve the right to change my mind :)
..Steve
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk