- Timestamp:
- 2020-05-16T21:25:56+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/CachedFile.java
r16426 r16428 466 466 // No local file + offline => nothing to do 467 467 if (offline) { 468 return null;468 throw new IOException(OfflineAccessException.forResource(urlStr).getMessage()); 469 469 } 470 470 … … 496 496 if (ifModifiedSince != null && con.getResponseCode() == HttpURLConnection.HTTP_NOT_MODIFIED) { 497 497 Logging.debug("304 Not Modified ({0})", urlStr); 498 if (localFile == null)499 throw new AssertionError();500 498 Config.getPref().putList(prefKey, 501 499 Arrays.asList(Long.toString(System.currentTimeMillis()), localPathEntry.get(1)));
Note:
See TracChangeset
for help on using the changeset viewer.