Frederik Ramm schrieb:
> I think that 1.5 does not *require* you to use Override when you
> override something, whereas 6 does, but I am not sure. I just removed
> the @Overrides, tried to recompile, it worked, so I committed. No
> thinking involved on my part.

Sorry for that. I had my Eclipse set to 6.0 compability instead of 5.0.

Between 5.0 and 6.0 there was a change, that @Override may no longer be
used when implementing the method of an interface. Unfortunatly that
wasn't documented correctly by Sun:

http://blogs.sun.com/ahe/entry/override_snafu

Robin


_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/josm-dev

Reply via email to