Ticket #19436: 19436.1.patch
File 19436.1.patch, 655 bytes (added by , 5 years ago) |
---|
-
src/org/openstreetmap/josm/io/remotecontrol/RequestProcessor.java
419 419 */ 420 420 public static JsonObject getHandlerInfoAsJSON(String cmd) { 421 421 RequestHandler handler; 422 if (!cmd.startsWith("/")) { 423 cmd = new StringBuilder("/").append(cmd).toString(); 424 } 422 425 try { 423 426 Class<?> c = handlers.get(cmd); 424 427 if (c == null) return null;