From: David ‘Bombe’ Roden Date: Thu, 9 Jun 2011 08:39:31 +0000 (+0200) Subject: Add javadoc. X-Git-Tag: 0.6.5^2~8^2~7 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a372629239706054eb03a2138274a644ee76fc04;p=Sone.git Add javadoc. --- diff --git a/src/main/java/net/pterodactylus/sone/web/WebInterface.java b/src/main/java/net/pterodactylus/sone/web/WebInterface.java index d0034dd..c9547fb 100644 --- a/src/main/java/net/pterodactylus/sone/web/WebInterface.java +++ b/src/main/java/net/pterodactylus/sone/web/WebInterface.java @@ -668,6 +668,15 @@ public class WebInterface implements CoreListener { } } + /** + * Returns all {@link Core#isLocalSone(Sone) local Sone}s that are + * referenced by {@link SonePart}s in the given text (after parsing it using + * {@link SoneTextParser}). + * + * @param text + * The text to parse + * @return All mentioned local Sones + */ private Set getMentionedSones(String text) { /* we need no context to find mentioned Sones. */ Set mentionedSones = new HashSet();