Changeset 22734 in osm for applications/editors/josm
- Timestamp:
- 2010-08-22T21:28:55+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/remotecontrol/src/org/openstreetmap/josm/plugins/remotecontrol/RequestProcessor.java
r22733 r22734 89 89 command = command.substring(1); 90 90 } 91 if (handlers.get("/" + command) != null) { 91 String commandWithSlash = "/" + command; 92 if (handlers.get(commandWithSlash) != null) { 92 93 System.out.println("RemoteControl: ignoring duplicate command " + command 93 94 + " with handler " + handler.getName()); … … 95 96 if(!silent) System.out.println("RemoteControl: adding command \"" + 96 97 command + "\" (handled by " + handler.getSimpleName() + ")"); 97 handlers.put(command , handler);98 handlers.put(commandWithSlash, handler); 98 99 } 99 100 }
Note:
See TracChangeset
for help on using the changeset viewer.