From 3b8d3b60221a0463368cde933e2680190e760740 Mon Sep 17 00:00:00 2001 From: Colm O hEigeartaigh Date: Tue, 18 Jun 2024 13:18:28 +0100 Subject: [PATCH] Checkstyle fix (#182) --- .../directory/server/xdbm/search/impl/DefaultOptimizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java index f0b8b2bd9e..f39095752d 100644 --- a/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java +++ b/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/DefaultOptimizer.java @@ -507,7 +507,7 @@ private long getScopeScan( PartitionTxn partitionTxn, ScopeNode node ) throws Ld return db.getChildCount( partitionTxn, id ); case SUBTREE: - if ( Strings.equals(id, getContextEntryId( partitionTxn ) ) ) + if ( Strings.equals( id, getContextEntryId( partitionTxn ) ) ) { return db.count( partitionTxn ); }