diff options
author | Ade Lee <alee@redhat.com> | 2012-01-11 13:58:57 -0500 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-01-11 13:58:57 -0500 |
commit | fbbf6c77236902e726faafe380a5ddf1891e8dc9 (patch) | |
tree | 1e671265cbd3d4072838eeec51b6a2ec77bed7d1 /pki/base/common/src/com/netscape/certsrv/base/SessionContext.java | |
parent | f7a1d6a79d1b0367e556d5c53fe5e0c07c7b5c66 (diff) | |
download | pki-fbbf6c77236902e726faafe380a5ddf1891e8dc9.tar.gz pki-fbbf6c77236902e726faafe380a5ddf1891e8dc9.tar.xz pki-fbbf6c77236902e726faafe380a5ddf1891e8dc9.zip |
Formatting - no wrap in comments and code
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/base/SessionContext.java')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/base/SessionContext.java | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java b/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java index 151c2420..b4ecd124 100644 --- a/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java +++ b/pki/base/common/src/com/netscape/certsrv/base/SessionContext.java @@ -17,22 +17,20 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.certsrv.base; - import java.util.Hashtable; - /** * This class specifies the context object that includes * authentication environment and connection information. * This object is later used in access control evaluation. - * This is a global object that can be accessible - * throughout the server. It is useful for passing + * This is a global object that can be accessible + * throughout the server. It is useful for passing * global and per-thread infomration in methods. * <P> - * + * * @version $Revision$, $Date$ */ -public class SessionContext extends Hashtable<Object,Object> { +public class SessionContext extends Hashtable<Object, Object> { /** * @@ -107,12 +105,12 @@ public class SessionContext extends Hashtable<Object,Object> { } /** - * Sets the current context. This allows the - * caller to associate a specific session context + * Sets the current context. This allows the + * caller to associate a specific session context * with the current thread. * This methods makes custom session context * possible. - * + * * @param sc session context */ public static void setContext(SessionContext sc) { @@ -120,10 +118,10 @@ public class SessionContext extends Hashtable<Object,Object> { } /** - * Retrieves the session context associated with + * Retrieves the session context associated with * the current thread. If no context is associated, * a context is created. - * + * * @return sesssion context */ public static SessionContext getContext() { @@ -137,15 +135,15 @@ public class SessionContext extends Hashtable<Object,Object> { } /** - * Retrieves the session context associated with + * Retrieves the session context associated with * the current thread. If no context is associated, * null is returned. - * + * * @return sesssion context */ public static SessionContext getExistingContext() { SessionContext sc = (SessionContext) - mContexts.get(Thread.currentThread()); + mContexts.get(Thread.currentThread()); if (sc == null) { return null; |