The rest of the javadoc backport. Should have commited this last week when I did it.

This commit is contained in:
Ben Hale
2007-04-27 20:31:56 +00:00
parent 209d17e27a
commit 0c157f002f

View File

@@ -45,7 +45,8 @@ public final class ExternalContextHolder {
/**
* Return the ExternalContext associated with the current thread, if any.
* @return the current ExternalContext, or <code>null</code> 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");