summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-02-06 15:44:34 -0600
committerEndi Sukma Dewata <edewata@redhat.com>2012-02-14 16:32:25 -0600
commitd5c6e6c69e678a79f9e8cd312e6007ad88026a36 (patch)
tree2e5934f2ff9aeb3b5014808799f2862ee262a723 /pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java
parenta4979af45554d97190180a038a4b438e3161d609 (diff)
downloadpki-d5c6e6c69e678a79f9e8cd312e6007ad88026a36.tar.gz
pki-d5c6e6c69e678a79f9e8cd312e6007ad88026a36.tar.xz
pki-d5c6e6c69e678a79f9e8cd312e6007ad88026a36.zip
Added generics (part 4).
This patch brings down the warnings from 3427 to 2917. Ticket #2
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java')
-rw-r--r--pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java b/pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java
index 7a275b1e6..7d0686378 100644
--- a/pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java
+++ b/pki/base/common/src/com/netscape/cms/profile/common/ProfileContext.java
@@ -27,13 +27,13 @@ import com.netscape.certsrv.profile.IProfileContext;
* @version $Revision$, $Date$
*/
public class ProfileContext implements IProfileContext {
- private Hashtable m_Attrs = new Hashtable();
+ private Hashtable<String, String> m_Attrs = new Hashtable<String, String>();
public void set(String name, String value) {
m_Attrs.put(name, value);
}
public String get(String name) {
- return (String) m_Attrs.get(name);
+ return m_Attrs.get(name);
}
}