[josm-dev] Building JOSM
Christof Dallermassl
cdaller.hw at gmx.at
Sun Oct 21 21:02:08 BST 2007
Hi!
>> JOSM/src/org/openstreetmap/josm/gui/MapMover.java line 95
>> The method mouseDragged(MouseEvent) of type MapMover should be tagged with
>> @Override since it actually overrides a superclass method
>
> You're using Java 1.6 then? Because someone recently told Gabriel
> about these problems on IRC, Gabriel then added the "@Override", and
> as a result I was unable to compile JOSM on Java 1.5... no idea what
> has changed there, but maybe you can just switch your Eclipse to 1.5
> compliance and see if that helps?
java 1.6 allows @Override on interface methods, while java 1.5 only
allows them on overridden methods from a base class.
christof
--
---------------------------------------------------------------------------
Christof Dallermassl
christof at dallermassl.at
---------------------------------------------------------------------------
--
---------------------------------------------------------------------------
Christof Dallermassl
cdaller dot hw at gmx dot at
---------------------------------------------------------------------------
More information about the josm-dev
mailing list