Modify

Opened 4 years ago

Closed 4 years ago

#2555 closed defect (fixed)

remotecontrol does not compile

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

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 Changed 4 years ago by Gubaer

  • Cc karl.guggisberg@… added
  • Resolution set to fixed
  • Status changed from new to closed

should be fixed in changeset 14991

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.