directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r470191 - in /directory/trunks/apacheds: server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java server-unit/src/test/java/org/apache/directory/server/AddITest.java
Date Thu, 02 Nov 2006 02:20:09 GMT
Author: akarasulu
Date: Wed Nov  1 18:20:09 2006
New Revision: 470191

URL: http://svn.apache.org/viewvc?view=rev&rev=470191
Log:
making yellow ticks go away in eclipse

Modified:
    directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
    directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java

Modified: directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java?view=diff&rev=470191&r1=470190&r2=470191
==============================================================================
--- directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
(original)
+++ directory/trunks/apacheds/server-jndi/src/main/java/org/apache/directory/server/jndi/ServerContextFactory.java
Wed Nov  1 18:20:09 2006
@@ -317,7 +317,7 @@
         }
 
         // get an initial context to the rootDSE for creating the LDIF entries
-        Hashtable env = ( Hashtable ) service.getConfiguration().getEnvironment().clone();
+        Hashtable<String, Object> env = ( Hashtable<String, Object> ) service.getConfiguration().getEnvironment().clone();
         env.put( Context.PROVIDER_URL, "" );
         DirContext root = ( DirContext ) this.getInitialContext( env );
 

Modified: directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java?view=diff&rev=470191&r1=470190&r2=470191
==============================================================================
--- directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java
(original)
+++ directory/trunks/apacheds/server-unit/src/test/java/org/apache/directory/server/AddITest.java
Wed Nov  1 18:20:09 2006
@@ -21,7 +21,6 @@
 
 
 import javax.naming.directory.*;
-import javax.naming.Context;
 import javax.naming.NamingEnumeration;
 import javax.naming.NamingException;
 
@@ -56,7 +55,7 @@
     {
         super.setUp();
 
-        Hashtable env = new Hashtable();
+        Hashtable<String, String> env = new Hashtable<String,String>();
         env.put( "java.naming.factory.initial", "com.sun.jndi.ldap.LdapCtxFactory" );
         env.put( "java.naming.provider.url", "ldap://localhost:" + port + "/ou=system" );
         env.put( "java.naming.security.principal", "uid=admin,ou=system" );



Mime
View raw message