From 096baf42f69522d210cdc0895e4175dbc52e0bbd Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 15 Sep 2014 20:51:41 -0400 Subject: core: Fix javadoc on PotentialAnnotation.from(Key). --- .../main/java/com/tavianator/sangria/core/PotentialAnnotation.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sangria-core') diff --git a/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java b/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java index 7c3680f..760cd17 100644 --- a/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java +++ b/sangria-core/src/main/java/com/tavianator/sangria/core/PotentialAnnotation.java @@ -76,7 +76,10 @@ public abstract class PotentialAnnotation { } /** - * @return A {@link PotentialAnnotation} with the annotation from a {@link Key}. + * Extract the annotation from a {@link Key}. + * + * @param key The {@link Key} whose annotation to use, if any. + * @return A {@link PotentialAnnotation} with the annotation from {@code key}. * @since 1.2 */ public static PotentialAnnotation from(Key key) { -- cgit v1.2.3