Changeset 11567 in josm for trunk/src/org
- Timestamp:
- 2017-02-14T23:48:53+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/remotecontrol
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/remotecontrol/RequestProcessor.java
r10627 r11567 475 475 usage.append(" — <i>").append(sample.getUsage()).append("</i>"); 476 476 } 477 if (mandatory != null ) {477 if (mandatory != null && mandatory.length > 0) { 478 478 usage.append("<br/>mandatory parameters: ").append(Utils.join(", ", Arrays.asList(mandatory))); 479 479 } 480 if (optional != null ) {480 if (optional != null && optional.length > 0) { 481 481 usage.append("<br/>optional parameters: ").append(Utils.join(", ", Arrays.asList(optional))); 482 482 } 483 if (examples != null ) {483 if (examples != null && examples.length > 0) { 484 484 usage.append("<br/>examples: "); 485 485 for (String ex: examples) { -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/FeaturesHandler.java
r8846 r11567 64 64 @Override 65 65 public String[] getMandatoryParams() { 66 return n ull;66 return new String[0]; 67 67 } 68 68 -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandler.java
r10973 r11567 111 111 112 112 public String[] getOptionalParams() { 113 return n ull;113 return new String[0]; 114 114 } 115 115 … … 119 119 120 120 public String[] getUsageExamples() { 121 return n ull;121 return new String[0]; 122 122 } 123 123 -
trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/VersionHandler.java
r10300 r11567 39 39 @Override 40 40 public String[] getMandatoryParams() { 41 return n ull;41 return new String[0]; 42 42 } 43 43
Note:
See TracChangeset
for help on using the changeset viewer.