You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2005/02/07 08:53:46 UTC
svn commit: r151705 -
incubator/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractServerTest.java
Author: akarasulu
Date: Sun Feb 6 23:53:46 2005
New Revision: 151705
URL: http://svn.apache.org/viewcvs?view=rev&rev=151705
Log:
broken build due to need for a cast - again I have no idea how this was broken
Modified:
incubator/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractServerTest.java
Modified: incubator/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractServerTest.java
URL: http://svn.apache.org/viewcvs/incubator/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractServerTest.java?view=diff&r1=151704&r2=151705
==============================================================================
--- incubator/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractServerTest.java (original)
+++ incubator/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/AbstractServerTest.java Sun Feb 6 23:53:46 2005
@@ -21,6 +21,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.util.Hashtable;
+import java.util.Map;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
@@ -31,7 +32,6 @@
import junit.framework.TestCase;
import org.apache.commons.io.FileUtils;
-import org.apache.apseda.listener.AvailablePortFinder;
import org.apache.ldap.server.jndi.EnvKeys;
import org.apache.ldap.common.ldif.LdifParser;
import org.apache.ldap.common.ldif.LdifParserImpl;
@@ -39,6 +39,7 @@
import org.apache.ldap.common.message.LockableAttributesImpl;
import org.apache.ldap.common.name.LdapName;
import org.apache.ldap.common.exception.LdapConfigurationException;
+import org.apache.apseda.listener.AvailablePortFinder;
/**
@@ -203,7 +204,7 @@
{
Hashtable env = new Hashtable();
- env.putAll( sysRoot.getEnvironment() );
+ env.putAll( ( Map ) sysRoot.getEnvironment() );
LdapContext ctx = new InitialLdapContext( env, null );