Skip to content

Commit

Permalink
Fix for DIRSERVER-2410
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Aug 1, 2024
1 parent 398dc28 commit 17df506
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2805,14 +2805,11 @@ protected Dn buildEntryDn( PartitionTxn partitionTxn, String id ) throws LdapExc
{
rwLock.readLock().lock();

if ( entryDnCache != null )
Dn cachedDn = entryDnCache.getIfPresent( id );

if ( cachedDn != null )
{
Dn cachedDn = entryDnCache.getIfPresent( id );

if ( cachedDn != null )
{
return cachedDn;
}
return cachedDn;
}

do
Expand Down

0 comments on commit 17df506

Please sign in to comment.