Map.Entry<StanfordCoreNLP.AnnotatorSignature, Lazy<Annotator>> entry = iter.next(); if ( ! entry.getValue().isCache()) { error("Entry in global cache is not garbage collectable!"); iter.remove(); } else if (entry.getValue().isGarbageCollected()) {
Map.Entry<StanfordCoreNLP.AnnotatorSignature, Lazy<Annotator>> entry = iter.next(); if ( ! entry.getValue().isCache()) { error("Entry in global cache is not garbage collectable!"); iter.remove(); } else if (entry.getValue().isGarbageCollected()) {