Updated Branches:
  refs/heads/wicket-1.5.x dbfb06af4 -> 55d97b1a1

Remove trailing spaces. No functional changes


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/55d97b1a
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/55d97b1a
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/55d97b1a

Branch: refs/heads/wicket-1.5.x
Commit: 55d97b1a193e61bd902cc9211070c8d3fbc0c8c4
Parents: 227de67
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Tue Jun 26 15:12:19 2012 +0300
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Tue Jun 26 15:12:19 2012 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/wicket/Session.java   |   84 +++++++-------
 1 files changed, 42 insertions(+), 42 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/55d97b1a/wicket-core/src/main/java/org/apache/wicket/Session.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/Session.java 
b/wicket-core/src/main/java/org/apache/wicket/Session.java
index a91c6a0..9574591 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Session.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Session.java
@@ -55,12 +55,12 @@ import org.slf4j.LoggerFactory;
  * <li><b>Locale </b>- A session has a Locale property to support 
localization. The Locale for a
  * session can be set by calling {@link Session#setLocale(Locale)}. The Locale 
for a Session
  * determines how localized resources are found and loaded.
- * 
+ *
  * <li><b>Style </b>- Besides having an appearance based on locale, resources 
can also have
  * different looks in the same locale (a.k.a. "skins"). The style for a 
session determines the look
  * which is used within the appropriate locale. The session style ("skin") can 
be set with the
  * setStyle() method.
- * 
+ *
  * <li><b>Resource Loading </b>- Based on the Session locale and style, 
searching for resources
  * occurs in the following order (where sourcePath is set via the 
ApplicationSettings object for the
  * current Application, and style and locale are Session properties):
@@ -74,7 +74,7 @@ import org.slf4j.LoggerFactory;
  * 7. [classPath]/name[style].[extension] <br>
  * 8. [classPath]/name.[extension] <br>
  * </ul>
- * 
+ *
  * <li><b>Session Properties </b>- Arbitrary objects can be attached to a 
Session by installing a
  * session factory on your Application class which creates custom Session 
subclasses that have
  * typesafe properties specific to the application (see {@link Application} 
for details). To
@@ -82,20 +82,20 @@ import org.slf4j.LoggerFactory;
  * provided. In a clustered environment, you should take care to call the 
dirty() method when you
  * change a property on your own. This way the session will be reset again in 
the http session so
  * that the http session knows the session is changed.
- * 
+ *
  * <li><b>Class Resolver </b>- Sessions have a class resolver ( {@link 
IClassResolver})
  * implementation that is used to locate classes for components such as pages.
- * 
+ *
  * <li><b>Page Factory </b>- A pluggable implementation of {@link 
IPageFactory} is used to
  * instantiate pages for the session.
- * 
+ *
  * <li><b>Removal </b>- Pages can be removed from the Session forcibly by 
calling remove(Page) or
  * removeAll(), although such an action should rarely be necessary.
- * 
+ *
  * <li><b>Flash Messages</b>- Flash messages are messages that are stored in 
session and are removed
  * after they are displayed to the user. Session acts as a store for these 
messages because they can
  * last across requests.
- * 
+ *
  * @author Jonathan Locke
  * @author Eelco Hillenius
  * @author Igor Vaynberg (ivaynberg)
@@ -121,7 +121,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Checks if the <code>Session</code> threadlocal is set in this thread
-        * 
+        *
         * @return true if {@link Session#get()} can return the instance of 
session, false otherwise
         */
        public static boolean exists()
@@ -132,7 +132,7 @@ public abstract class Session implements IClusterable, 
IEventSink
        /**
         * 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()
@@ -194,7 +194,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Constructor. Note that {@link RequestCycle} is not available until 
this constructor returns.
-        * 
+        *
         * @param request
         *            The current request
         */
@@ -277,7 +277,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Registers an error feedback message for this session
-        * 
+        *
         * @param message
         *            The feedback message
         */
@@ -288,7 +288,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Registers an fatal feedback message for this session
-        * 
+        *
         * @param message
         *            The feedback message
         */
@@ -299,7 +299,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Registers an debug feedback message for this session
-        * 
+        *
         * @param message
         *            The feedback message
         */
@@ -310,7 +310,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Get the application that is currently working with this session.
-        * 
+        *
         * @return Returns the application.
         */
        public final Application getApplication()
@@ -338,14 +338,14 @@ public abstract class Session implements IClusterable, 
IEventSink
         * Gets the client info object for this session. This method lazily 
gets the new agent info
         * object for this session. It uses any cached or set ({@link 
#setClientInfo(ClientInfo)})
         * client info object.
-        * 
+        *
         * @return the client info object based on this request
         */
        public abstract ClientInfo getClientInfo();
 
        /**
         * Gets feedback messages stored in session
-        * 
+        *
         * @return unmodifiable list of feedback messages
         */
        public final FeedbackMessages getFeedbackMessages()
@@ -356,7 +356,7 @@ public abstract class Session implements IClusterable, 
IEventSink
        /**
         * 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
         */
        public final String getId()
@@ -379,7 +379,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Get this session's locale.
-        * 
+        *
         * @return This session's locale
         */
        public Locale getLocale()
@@ -389,7 +389,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Gets metadata for this session using the given key.
-        * 
+        *
         * @param key
         *            The key for the data
         * @param <M>
@@ -405,7 +405,7 @@ public abstract class Session implements IClusterable, 
IEventSink
        /**
         * When a regular request on certain page with certain version is being 
processed, we don't
         * allow ajax requests to same page and version.
-        * 
+        *
         * @param lockedRequestCycle
         * @return whether current request is valid or should be discarded
         */
@@ -432,7 +432,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Get the style (see {@link org.apache.wicket.Session}).
-        * 
+        *
         * @return Returns the style (see {@link org.apache.wicket.Session})
         */
        public final String getStyle()
@@ -442,7 +442,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Registers an informational feedback message for this session
-        * 
+        *
         * @param message
         *            The feedback message
         */
@@ -453,7 +453,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Registers an success feedback message for this session
-        * 
+        *
         * @param message
         *            The feedback message
         */
@@ -500,7 +500,7 @@ public abstract class Session implements IClusterable, 
IEventSink
         * calling {@link ISessionStore#invalidate(Request)} and {@link #bind()}
         * <p>
         * Call upon login to protect against session fixation.
-        * 
+        *
         * @see "http://www.owasp.org/index.php/Session_Fixation";
         */
        public void replaceSession()
@@ -512,9 +512,9 @@ public abstract class Session implements IClusterable, 
IEventSink
        /**
         * Whether the session is invalid now, or will be invalidated by the 
end of the request. Clients
         * should rarely need to use this method if ever.
-        * 
+        *
         * @return Whether the session is invalid when the current request is 
done
-        * 
+        *
         * @see #invalidate()
         * @see #invalidateNow()
         */
@@ -527,7 +527,7 @@ public abstract class Session implements IClusterable, 
IEventSink
         * Whether this session is temporary. A Wicket application can operate 
in a session-less mode as
         * long as stateless pages are used. If this session object is 
temporary, it will not be
         * available on a next request.
-        * 
+        *
         * @return Whether this session is temporary (which is the same as it's 
id being null)
         */
        public final boolean isTemporary()
@@ -540,7 +540,7 @@ public abstract class Session implements IClusterable, 
IEventSink
         * <p>
         * Sets the client info object for this session. This will only work 
when
         * {@link #getClientInfo()} is not overridden.
-        * 
+        *
         * @param clientInfo
         *            the client info object
         */
@@ -552,7 +552,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Set the locale for this session.
-        * 
+        *
         * @param locale
         *            New locale
         */
@@ -573,7 +573,7 @@ public abstract class Session implements IClusterable, 
IEventSink
         * Sets the metadata for this session using the given key. If the 
metadata object is not of the
         * correct type for the metadata key, an IllegalArgumentException will 
be thrown. For
         * information on creating MetaDataKeys, see {@link MetaDataKey}.
-        * 
+        *
         * @param key
         *            The singleton key for the metadata
         * @param object
@@ -589,7 +589,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Set the style (see {@link org.apache.wicket.Session}).
-        * 
+        *
         * @param style
         *            The style to set.
         * @return the Session object
@@ -603,7 +603,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Registers a warning feedback message for this session
-        * 
+        *
         * @param message
         *            The feedback message
         */
@@ -614,10 +614,10 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Adds a feedback message to the list of messages
-        * 
+        *
         * @param message
         * @param level
-        * 
+        *
         */
        private void addFeedbackMessage(Serializable message, int level)
        {
@@ -639,7 +639,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * NOT PART OF PUBLIC API, DO NOT CALL
-        * 
+        *
         * Detaches internal state of {@link Session}
         */
        public void internalDetach()
@@ -662,7 +662,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Gets the attribute value with the given name
-        * 
+        *
         * @param name
         *            The name of the attribute to store
         * @return The value of the attribute
@@ -716,7 +716,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Gets the session store.
-        * 
+        *
         * @return the session store
         */
        protected ISessionStore getSessionStore()
@@ -730,7 +730,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Removes the attribute with the given name.
-        * 
+        *
         * @param name
         *            the name of the attribute to remove
         */
@@ -755,7 +755,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Adds or replaces the attribute with the given name and value.
-        * 
+        *
         * @param name
         *            The name of the attribute
         * @param value
@@ -810,7 +810,7 @@ public abstract class Session implements IClusterable, 
IEventSink
 
        /**
         * Retrieves the next available session-unique value
-        * 
+        *
         * @return session-unique value
         */
        public synchronized int nextSequenceValue()
@@ -819,7 +819,7 @@ public abstract class Session implements IClusterable, 
IEventSink
        }
 
        /**
-        * 
+        *
         * @return the next page id
         */
        public synchronized int nextPageId()

Reply via email to