Author: knopp
Date: Fri Jul  2 21:18:18 2010
New Revision: 960107

URL: http://svn.apache.org/viewvc?rev=960107&view=rev
Log:
javadoc

Modified:
    wicket/trunk/wicket/src/main/java/org/apache/wicket/Session.java

Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/Session.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/Session.java?rev=960107&r1=960106&r2=960107&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/Session.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/Session.java Fri Jul  2 
21:18:18 2010
@@ -132,6 +132,12 @@ public abstract class Session implements
                return ThreadContext.getSession() != null;
        }
 
+       /**
+        * Returns session associated to current thread. Should always return a 
session during a request
+        * cycle, even though the session might be temporary
+        * 
+        * @return session.
+        */
        public static Session get()
        {
                Session session = ThreadContext.getSession();
@@ -334,8 +340,8 @@ public abstract class Session implements
        }
 
        /**
-        * Gets the unique id for this session from the underlying 
SessionStore. May be null if a
-        * concrete session is not yet created.
+        * Gets the unique id for this session from the underlying 
SessionStore. May be
+        * <code>null</code> if a concrete session is not yet created.
         * 
         * @return The unique id for this session or null if it is a temporary 
session
         */


Reply via email to