Changeset 9670 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2016-01-29T17:39:58+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java
r9510 r9670 156 156 } 157 157 158 private static File checkFileAndConfirmOverWrite(AbstractFileChooser fc, String extension) { 158 /** 159 * Checks if selected filename has the given extension. If not, adds the extension and asks for overwrite if filename exists. 160 * 161 * @param fc FileChooser where file was already selected 162 * @return the {@code File} or {@code null} if the user cancelled the dialog. 163 */ 164 public static File checkFileAndConfirmOverWrite(AbstractFileChooser fc, String extension) { 159 165 if (fc == null) return null; 160 166 File file = fc.getSelectedFile();
Note:
See TracChangeset
for help on using the changeset viewer.