Ticket #10660: remote_version.diff
File remote_version.diff, 1.1 KB (added by , 10 years ago) |
---|
-
src/org/openstreetmap/josm/io/remotecontrol/RequestProcessor.java
23 23 import java.util.regex.Pattern; 24 24 25 25 import org.openstreetmap.josm.Main; 26 import org.openstreetmap.josm.data.Version; 26 27 import org.openstreetmap.josm.gui.help.HelpUtil; 27 28 import org.openstreetmap.josm.io.remotecontrol.handler.AddNodeHandler; 28 29 import org.openstreetmap.josm.io.remotecontrol.handler.AddWayHandler; … … 52 53 public static final String PROTOCOLVERSION = "{\"protocolversion\": {\"major\": " + 53 54 RemoteControl.protocolMajorVersion + ", \"minor\": " + 54 55 RemoteControl.protocolMinorVersion + 55 "}, \"application\": \"JOSM RemoteControl\"}"; 56 "}, \"application\": \"JOSM RemoteControl\"," + 57 " \"applicationVersion\": " + Version.getInstance().getVersion() + "}"; 56 58 57 59 /** The socket this processor listens on */ 58 60 private Socket request;