Skip to content

Commit d852263

Browse files
committed
add log
1 parent 53ad741 commit d852263

File tree

1 file changed

+4
-0
lines changed
  • core/src/main/java/net/adoptopenjdk/icedteaweb/resources/cache

1 file changed

+4
-0
lines changed

core/src/main/java/net/adoptopenjdk/icedteaweb/resources/cache/CacheImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ boolean isCached(CacheKey key) {
214214
*/
215215
boolean isUpToDate(CacheKey key, long lastModified) {
216216
final Boolean isUpToDate = getResourceInfo(key)
217+
.map(cachedFile -> {
218+
LOG.debug("found {} for {}", cachedFile.getCacheKey(), key);
219+
return cachedFile;
220+
})
217221
.map(cachedFile -> cachedFile.isCurrent(lastModified))
218222
.orElse(false);
219223
LOG.info("isUpToDate: {} = {}", key, isUpToDate);

0 commit comments

Comments
 (0)