Changeset 8849 in josm for trunk/src/org/openstreetmap/josm/io/GpxExporter.java
- Timestamp:
- 2015-10-10T14:30:12+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxExporter.java
r8846 r8849 318 318 if (answer != JOptionPane.OK_OPTION || l.getSelectedIndex() == -1) 319 319 return; 320 String license = "";320 StringBuilder license = new StringBuilder(); 321 321 for (int i : l.getSelectedIndices()) { 322 322 if (i == 2) { 323 license = "public domain"; 323 license = new StringBuilder("public domain"); 324 324 break; 325 325 } 326 license += license.isEmpty() ? URLS[i] : ", "+URLS[i]; 326 if (license.length() > 0) { 327 license.append(", "); 328 } 329 license.append(URLS[i]); 327 330 } 328 copyright.setText(license); 331 copyright.setText(license.toString()); 329 332 copyright.setCaretPosition(0); 330 333 }
Note:
See TracChangeset
for help on using the changeset viewer.
