Modify

Opened 16 years ago

Closed 16 years ago

#2555 closed defect (fixed)

remotecontrol does not compile

Reported by: Teemu Koskinen <teemu.koskinen@…> Owned by: team
Priority: minor Milestone:
Component: Plugin Version: latest
Keywords: remotecontrol Cc: Gubaer

Description

The remotecontrol does not compile after [o14893]

Daeron@Hollin ~/osm/josm/plugins/remotecontrol $ ant dist
Buildfile: build.xml

init:

compile:
     [echo] creating ../../dist/remotecontrol.jar
    [javac] Compiling 2 source files to /home/daeron/osm/josm/plugins/remotecontrol/build
    [javac] /home/daeron/osm/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RemoteControlPreferences.java:22: org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPreferences is not abstract and does not override abstract method ok() in org.openstreetmap.josm.gui.preferences.PreferenceSetting
    [javac] public class RemoteControlPreferences implements PreferenceSetting
    [javac]        ^
    [javac] /home/daeron/osm/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RemoteControlPreferences.java:55: ok() in org.openstreetmap.josm.plugins.remotecontrol.RemoteControlPreferences cannot implement ok() in org.openstreetmap.josm.gui.preferences.PreferenceSetting; attempting to use incompatible return type
    [javac] found   : void
    [javac] required: boolean
    [javac]     public void ok() {
    [javac]                 ^
    [javac] 2 errors

BUILD FAILED
/home/daeron/osm/josm/plugins/remotecontrol/build.xml:12: Compile failed; see the compiler error output for details.

Total time: 1 second

Attachments (0)

Change History (1)

comment:1 by Gubaer, 16 years ago

Cc: Gubaer added
Resolution: fixed
Status: newclosed

should be fixed in changeset 14991

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.