Changeset 8390 in josm for trunk/src/org/openstreetmap/josm/io/OsmApi.java
- Timestamp:
- 2015-05-18T02:14:30+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r8378 r8390 324 324 StringBuilder rv = new StringBuilder(serverUrl); 325 325 if (version != null) { 326 rv.append("/"); 327 rv.append(version); 328 } 329 rv.append("/"); 326 rv.append('/').append(version); 327 } 328 rv.append('/'); 330 329 // this works around a ruby (or lighttpd) bug where two consecutive slashes in 331 330 // an URL will cause a "404 not found" response. … … 683 682 while((s = in.readLine()) != null) { 684 683 responseBody.append(s); 685 responseBody.append( "\n");684 responseBody.append('\n'); 686 685 } 687 686 }
Note:
See TracChangeset
for help on using the changeset viewer.