Skip to content

Commit

Permalink
Fixed a direct String == (DIRSERVER-2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Jun 5, 2024
1 parent c347dae commit 458ff88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ private long computeSubLevelScope( PartitionTxn partitionTxn, ScopeNode node, Pa
// If we are searching from the partition DN, better get out.
String contextEntryId = db.getEntryId( partitionTxn, ( ( Partition ) db ).getSuffixDn() );

if ( node.getBaseId() == contextEntryId )
if ( contextEntryId.equals( node.getBaseId() ) )
{
return Long.MAX_VALUE;
}
Expand Down

0 comments on commit 458ff88

Please sign in to comment.