Author: elecharny
Date: Fri Apr 6 10:29:04 2007
New Revision: 526231
URL: http://svn.apache.org/viewvc?view=rev&rev=526231
Log:
Added an intermediate abstract class to handle the DN, and removed the painfull casts all
over the code
Added a toString() method to the BindContext class
Modified:
directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
Modified: directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java?view=diff&rev=526231&r1=526230&r2=526231
==============================================================================
--- directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
(original)
+++ directory/apacheds/trunk/mitosis/src/main/java/org/apache/directory/mitosis/service/ReplicationService.java
Fri Apr 6 10:29:04 2007
@@ -431,7 +431,7 @@
// Check DELETED attribute.
try
{
- Attributes entry = nextInterceptor.lookup( new LookupServiceContext( ((EntryServiceContext)entryContext).getEntryDn()
) );
+ Attributes entry = nextInterceptor.lookup( new LookupServiceContext( entryContext.getDn()
) );
hasEntry = !isDeleted( entry );
}
catch ( NameNotFoundException e )
|