X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FSearchPage.java;h=5cdd5634569d722c2a89894d57443bb5618ce811;hb=8d545b0722d995cad065af7a31e3d9fb33c59892;hp=bd0354f1ff1c11ba463ddedcc9ccc3bd6c2d039f;hpb=c67605d6ee939160420d176cba9571f442c14978;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/SearchPage.java b/src/main/java/net/pterodactylus/sone/web/SearchPage.java index bd0354f..5cdd563 100644 --- a/src/main/java/net/pterodactylus/sone/web/SearchPage.java +++ b/src/main/java/net/pterodactylus/sone/web/SearchPage.java @@ -65,6 +65,9 @@ public class SearchPage extends SoneTemplatePage { // SONETEMPLATEPAGE METHODS // + /** + * {@inheritDoc} + */ @Override protected void processTemplate(Request request, TemplateContext templateContext) throws RedirectException { super.processTemplate(request, templateContext); @@ -144,8 +147,8 @@ public class SearchPage extends SoneTemplatePage { * Parses the given query into search phrases. The query is split on * whitespace while allowing to group words using single or double quotes. * Isolated phrases starting with a “+” are - * {@link Phrase.Optionality#REQUIRED}, phrases with a - * “-” are {@link Phrase.Optionality#FORBIDDEN}. + * {@link Phrase.Optionality#REQUIRED}, phrases with a “-” are + * {@link Phrase.Optionality#FORBIDDEN}. * * @param query * The query to parse @@ -267,8 +270,7 @@ public class SearchPage extends SoneTemplatePage { /** * Generates a {@link String} from a {@link Post}, concatenating the text of * the post, the text of all {@link Reply}s, and the name of all - * {@link Sone}s that have - * replied. + * {@link Sone}s that have replied. * * @author David ‘Bombe’ Roden */ @@ -437,6 +439,9 @@ public class SearchPage extends SoneTemplatePage { */ public static class HitConverter implements Converter, T> { + /** + * {@inheritDoc} + */ @Override public T convert(Hit input) { return input.getObject();