You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2010/05/17 21:19:52 UTC

svn commit: r945320 - /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/ThreadContext.java

Author: lhazlewood
Date: Mon May 17 19:19:52 2010
New Revision: 945320

URL: http://svn.apache.org/viewvc?rev=945320&view=rev
Log:
SHIRO-161: Very minor JavaDoc fix

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/ThreadContext.java

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/ThreadContext.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/ThreadContext.java?rev=945320&r1=945319&r2=945320&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/ThreadContext.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/util/ThreadContext.java Mon May 17 19:19:52 2010
@@ -76,7 +76,7 @@ public abstract class ThreadContext {
      * previously in the ThreadContext - if you need to retain what was on the thread prior to calling this method,
      * call the {@link #getResources()} method, which will give you the existing state.
      *
-     * @param resources the resources to replace the existing {@link #getResources() resources}.
+     * @param newResources the resources to replace the existing {@link #getResources() resources}.
      * @since 1.0
      */
     public static void setResources(Map<Object, Object> newResources) {
@@ -178,8 +178,7 @@ public abstract class ThreadContext {
     }
 
     /**
-     * First {@link #clear clears} the {@code ThreadContext} values and then
-     * {@link ThreadLocal#remove removes} the underlying {@link ThreadLocal ThreadLocal} from the thread.
+     * {@link ThreadLocal#remove Remove}s the underlying {@link ThreadLocal ThreadLocal} from the thread.
      * <p/>
      * This method is meant to be the final 'clean up' operation that is called at the end of thread execution to
      * prevent thread corruption in pooled thread environments.