Use in-memory database.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / SearchPage.java
index a4da9f4..22e5b57 100644 (file)
@@ -111,7 +111,7 @@ public class SearchPage extends SoneTemplatePage {
                        throw new RedirectException("index.html");
                }
 
-               Set<Sone> sones = webInterface.getCore().getSones();
+               Collection<Sone> sones = webInterface.getCore().getSones();
                Set<Hit<Sone>> soneHits = getHits(sones, phrases, SoneStringGenerator.COMPLETE_GENERATOR);
 
                Set<Hit<Post>> postHits;