Changeset 6941 in josm
- Timestamp:
- 2014-03-29T00:34:18+01:00 (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r6905 r6941 1298 1298 if (value != null) { 1299 1299 String old = System.setProperty(key, value); 1300 Main.debug("System property '"+key+"' set to '"+value+"'. Old value was '"+old+"'"); 1300 if (!key.toLowerCase().contains("password")) { 1301 Main.debug("System property '"+key+"' set to '"+value+"'. Old value was '"+old+"'"); 1302 } else { 1303 Main.debug("System property '"+key+"' changed."); 1304 } 1301 1305 return old; 1302 1306 } -
trunk/src/org/openstreetmap/josm/gui/preferences/remotecontrol/RemoteControlPreference.java
r6623 r6941 74 74 remote.add(descLabel, GBC.eol().insets(5, 5, 0, 10).fill(GBC.HORIZONTAL)); 75 75 76 final JLabel portLabel = new JLabel("<html>" + tr("JOSM will always listen at <b>port 8111</b> on localhost. " 77 + "<br>This port is not configurable because it is referenced by external applications talking to JOSM.") + "</html>"); 76 final JLabel portLabel = new JLabel("<html>" + tr("JOSM will always listen at <b>port {0}</b> (http) and <b>port {1}</b> (https) on localhost." 77 + "<br>These ports are not configurable because they are referenced by external applications talking to JOSM.", 78 Main.pref.get("remote.control.port", "8111"), 79 Main.pref.get("remote.control.https.port", "8112")) + "</html>"); 78 80 portLabel.setFont(portLabel.getFont().deriveFont(Font.PLAIN)); 79 81 remote.add(portLabel, GBC.eol().insets(5, 5, 0, 10).fill(GBC.HORIZONTAL)); -
trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControl.java
r6342 r6941 32 32 public static void start() { 33 33 RemoteControlHttpServer.restartRemoteControlHttpServer(); 34 RemoteControlHttpsServer.restartRemoteControlHttpsServer(); 34 35 } 35 36 … … 40 41 public static void stop() { 41 42 RemoteControlHttpServer.stopRemoteControlHttpServer(); 43 RemoteControlHttpsServer.stopRemoteControlHttpsServer(); 42 44 } 43 45
Note:
See TracChangeset
for help on using the changeset viewer.