You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by er...@apache.org on 2007/05/07 02:27:55 UTC

svn commit: r535692 - /directory/apacheds/branches/kerberos-encryption-types/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java

Author: erodriguez
Date: Sun May  6 17:27:54 2007
New Revision: 535692

URL: http://svn.apache.org/viewvc?view=rev&rev=535692
Log:
Minor warning clean-up in protocol-shared.

Modified:
    directory/apacheds/branches/kerberos-encryption-types/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java

Modified: directory/apacheds/branches/kerberos-encryption-types/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/kerberos-encryption-types/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java?view=diff&rev=535692&r1=535691&r2=535692
==============================================================================
--- directory/apacheds/branches/kerberos-encryption-types/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java (original)
+++ directory/apacheds/branches/kerberos-encryption-types/protocol-shared/src/main/java/org/apache/directory/server/protocol/shared/ServiceConfiguration.java Sun May  6 17:27:54 2007
@@ -76,7 +76,7 @@
     public static final int MINUTE = 60000;
 
     /** the map of configuration */
-    protected Map configuration = new HashMap();
+    protected Map<String, Object> configuration = new HashMap<String, Object>();
 
 
     public String getCatalogBaseDn()
@@ -118,9 +118,9 @@
     }
 
 
-    public Hashtable toJndiEnvironment()
+    public Hashtable<String, Object> toJndiEnvironment()
     {
-        Hashtable env = new Hashtable();
+        Hashtable<String, Object> env = new Hashtable<String, Object>();
         env.put( JNDI_KEY, this );
         env.putAll( configuration );