From 180ad5c9e420c23df4e2e096551517559563ee5e Mon Sep 17 00:00:00 2001 From: Mattias Hellborg Arthursson Date: Mon, 2 Sep 2013 17:02:19 +0200 Subject: [PATCH] Trying to fix broken build. --- .../ldap/test/TestContextSourceFactoryBean.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-support/src/main/java/org/springframework/ldap/test/TestContextSourceFactoryBean.java b/test-support/src/main/java/org/springframework/ldap/test/TestContextSourceFactoryBean.java index 2a3f7f63..dc433bca 100644 --- a/test-support/src/main/java/org/springframework/ldap/test/TestContextSourceFactoryBean.java +++ b/test-support/src/main/java/org/springframework/ldap/test/TestContextSourceFactoryBean.java @@ -20,9 +20,9 @@ import org.springframework.beans.factory.config.AbstractFactoryBean; import org.springframework.core.io.Resource; import org.springframework.ldap.core.AuthenticationSource; import org.springframework.ldap.core.ContextSource; -import org.springframework.ldap.core.DistinguishedName; import org.springframework.ldap.core.support.DefaultDirObjectFactory; import org.springframework.ldap.core.support.LdapContextSource; +import org.springframework.ldap.support.LdapUtils; /** * @author Mattias Hellborg Arthursson @@ -108,10 +108,10 @@ public class TestContextSourceFactoryBean extends AbstractFactoryBean { targetContextSource.afterPropertiesSet(); if (baseOnTarget) { - LdapTestUtils.clearSubContexts(targetContextSource, DistinguishedName.EMPTY_PATH); + LdapTestUtils.clearSubContexts(targetContextSource, LdapUtils.emptyLdapName()); } else { - LdapTestUtils.clearSubContexts(targetContextSource, new DistinguishedName(defaultPartitionSuffix)); + LdapTestUtils.clearSubContexts(targetContextSource, LdapUtils.newLdapName(defaultPartitionSuffix)); } if (ldifFile != null) {