From 858dfd02e67ad7cba352185c2efca0249c91fb57 Mon Sep 17 00:00:00 2001 From: Mattias Hellborg Arthursson Date: Mon, 9 Sep 2013 11:27:51 +0200 Subject: [PATCH] LDAP-258: Reverted use of AbstractContextMapper from core in order to avoid package tangle. --- .../ldap/core/LdapEntryIdentificationContextMapper.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java b/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java index 988763dd..65589277 100644 --- a/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java +++ b/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java @@ -15,7 +15,6 @@ */ package org.springframework.ldap.core; -import org.springframework.ldap.core.support.AbstractContextMapper; import org.springframework.ldap.support.LdapUtils; /** @@ -25,10 +24,10 @@ import org.springframework.ldap.support.LdapUtils; * @author Mattias Hellborg Arthursson * @since 1.3 */ -public class LdapEntryIdentificationContextMapper extends AbstractContextMapper { +public class LdapEntryIdentificationContextMapper implements ContextMapper { - @Override - public LdapEntryIdentification doMapFromContext(DirContextOperations adapter) { + public LdapEntryIdentification mapFromContext(Object ctx) { + DirContextOperations adapter = (DirContextOperations) ctx; return new LdapEntryIdentification( LdapUtils.newLdapName(adapter.getNameInNamespace()), LdapUtils.newLdapName(adapter.getDn()));