From deee1851d7999019ea1f8cbf554e2af99c2cc49a Mon Sep 17 00:00:00 2001 From: Ben Hale Date: Fri, 20 Apr 2007 20:50:51 +0000 Subject: [PATCH] Fixed up some issues with javadocs --- .../webflow/context/ExternalContextHolder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java b/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java index 1a66db32..33bd695d 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/context/ExternalContextHolder.java @@ -19,7 +19,7 @@ import org.springframework.util.Assert; /** * Simple holder class that associates an {@link ExternalContext} instance with - * the current thread. The ExternalContext will be inherited by any child + * the current thread. The ExternalContext will not be inherited by any child * threads spawned by the current thread. *

* Used as a central holder for the current ExternalContext in Spring Web Flow, @@ -45,7 +45,8 @@ public final class ExternalContextHolder { /** * Return the ExternalContext associated with the current thread, if any. - * @return the current ExternalContext, or null if none + * @return the current ExternalContext + * @throws IllegalStateException if no ExternalContext is bound to this thread */ public static ExternalContext getExternalContext() { Assert.state(externalContextHolder.get() != null, "No external context is bound to this thread");