/*
- * Sone - SearchPage.java - Copyright © 2010 David Roden
+ * Sone - SearchPage.java - Copyright © 2010–2012 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/** Short-term cache. */
private final Cache<List<Phrase>, Set<Hit<Post>>> hitCache = new MemoryCache<List<Phrase>, Set<Hit<Post>>>(new ValueRetriever<List<Phrase>, Set<Hit<Post>>>() {
+ @Override
@SuppressWarnings("synthetic-access")
public CacheItem<Set<Hit<Post>>> retrieve(List<Phrase> phrases) throws CacheException {
Set<Post> posts = new HashSet<Post>();