Modify ↓
Opened 17 years ago
Closed 17 years ago
#2555 closed defect (fixed)
remotecontrol does not compile
| Reported by: | 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)
Note:
See TracTickets
for help on using tickets.



should be fixed in changeset 14991