/src/main/java/org/htmlunit/Cache.java
if ( oldestEntry.response_ != null) { entries_.remove( oldestEntry.key_) ;final Entry oldestEntry = Collections.min( entries_.values( ) ) ;
final Entry oldestEntry = Collections.min ( entries_.values ( ) ) ; entries_.remove ( oldestEntry.key_ ) ; if ( oldestEntry.response_ != null ) {
entries_.put(entry.key_, entry); deleteOverflow(); } protected void deleteOverflow() { synchronized (entries_) { while (entries_.size() > maxSize_) { <extra_id_0> oldestEntry.response_.cleanUp(); } } } } protected boolean isCacheable(final WebRequest request, final WebResponse response) {