diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java b/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java index 909ec484..6f22c026 100644 --- a/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java +++ b/pki/base/common/src/com/netscape/cmscore/notification/EmailResolverKeys.java @@ -17,18 +17,16 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.cmscore.notification; - import java.util.Enumeration; import java.util.Hashtable; import com.netscape.certsrv.base.EBaseException; import com.netscape.certsrv.notification.IEmailResolverKeys; - /** * Email resolver keys as input to email resolvers * <P> - * + * * @author cfu * @version $Revision$, $Date$ */ @@ -45,11 +43,12 @@ public class EmailResolverKeys implements IEmailResolverKeys { /** * sets a key with key name and the key + * * @param name key name * @param key key * @exception com.netscape.certsrv.base.EBaseException NullPointerException */ - public void set(String name, Object key)throws EBaseException { + public void set(String name, Object key) throws EBaseException { try { mKeys.put(name, key); } catch (NullPointerException e) { @@ -59,8 +58,8 @@ public class EmailResolverKeys implements IEmailResolverKeys { } /** - * returns the key to which the specified name is mapped in this - * key set + * returns the key to which the specified name is mapped in this key set + * * @param name key name * @return the named email resolver key */ @@ -69,9 +68,9 @@ public class EmailResolverKeys implements IEmailResolverKeys { } /** - * removes the name and its corresponding key from this - * key set. This method does nothing if the named - * key is not in the key set. + * removes the name and its corresponding key from this key set. This method + * does nothing if the named key is not in the key set. + * * @param name key name */ public void delete(String name) { @@ -79,9 +78,9 @@ public class EmailResolverKeys implements IEmailResolverKeys { } /** - * returns an enumeration of the keys in this key - * set. Use the Enumeration methods on the returned object to - * fetch the elements sequentially. + * returns an enumeration of the keys in this key set. Use the Enumeration + * methods on the returned object to fetch the elements sequentially. + * * @return an enumeration of the values in this key set * @see java.util.Enumeration */ @@ -89,4 +88,3 @@ public class EmailResolverKeys implements IEmailResolverKeys { return (mKeys.elements()); } } - |