[patch] API support for uploading note changes
This patch adds methods to OsmApi.java that enable JOSM to modify notes on the OSM server.
There are two utility methods at the bottom to reduce code duplication. I'm a little surprised that the functionality in the urlEncode method doesn't already exist somewhere. Or maybe I missed it. It just wraps the exception that the encode function can throw. At first I thought the fixURLQuery method in Utils could be used but it is not intended to encode user supplied strings. It intentionally leaves & and ? unencoded which is a bad thing in this case. But maybe this functionality should be put in Utils?
Change History (3)
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
Core →
Core notes
|
Keywords: |
notes removed
|
In 7663/josm: